piston fixy

This commit is contained in:
JustAGenericUsername 2025-07-14 20:42:36 -04:00
parent 3e7ae9401e
commit 5822b9fafc
1 changed files with 2 additions and 1 deletions

View File

@ -3113,7 +3113,8 @@ elements.piston_ray_emitter = {
category: "machines",
movable: false,
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}
else if (ans1 == "push"){pullOrPush = 2}
},