mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 15:18:09 +01:00
Merge pull request #11226 from VOREStation/Arokha/between
Remove the between() proc
This commit is contained in:
committed by
Chompstation Bot
parent
21534eef24
commit
fb491666a0
@@ -185,11 +185,7 @@ Thus, the two variables affect pump operation are set in New():
|
||||
update_use_power(!use_power)
|
||||
|
||||
if(signal.data["set_output_pressure"])
|
||||
target_pressure = between(
|
||||
0,
|
||||
text2num(signal.data["set_output_pressure"]),
|
||||
ONE_ATMOSPHERE*50
|
||||
)
|
||||
target_pressure = between(0, text2num(signal.data["set_output_pressure"]), ONE_ATMOSPHERE*50)
|
||||
|
||||
if(signal.data["status"])
|
||||
spawn(2)
|
||||
|
||||
Reference in New Issue
Block a user