piston fixy
This commit is contained in:
parent
3e7ae9401e
commit
5822b9fafc
|
|
@ -3113,7 +3113,8 @@ elements.piston_ray_emitter = {
|
||||||
category: "machines",
|
category: "machines",
|
||||||
movable: false,
|
movable: false,
|
||||||
onSelect: async function(){
|
onSelect: async function(){
|
||||||
var ans1 = await _nousersthingsprompt("Would you like this piston to pull or push?", "pull").toLowerCase();
|
var ans1 = await _nousersthingsprompt("Would you like this piston to pull or push?", "pull")
|
||||||
|
ans1 = ans1.toLowerCase()
|
||||||
if (ans1 == "pull"){pullOrPush = 1}
|
if (ans1 == "pull"){pullOrPush = 1}
|
||||||
else if (ans1 == "push"){pullOrPush = 2}
|
else if (ans1 == "push"){pullOrPush = 2}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue