diff --git a/mods/nousersthings.js b/mods/nousersthings.js index 51beeb62..290f48ba 100644 --- a/mods/nousersthings.js +++ b/mods/nousersthings.js @@ -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} },