Skip to content

Commit 614575e

Browse files
okay, got the shuttle one working, just fixes the time values to make em right
1 parent ecf75f9 commit 614575e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

code/controllers/subsystem/supply_shuttle.dm

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -199,22 +199,22 @@ var/datum/subsystem/supply_shuttle/SSsupply_shuttle
199199
if(istype(TTV.attached_device,/obj/item/device/assembly/timer))
200200
var/obj/item/device/assembly/timer/TM = TTV.attached_device
201201
if(TM.timing)
202-
timevalue = clamp(TM.time,600,1200)
202+
timevalue = clamp(TM.time,60,120)
203203
switch(TM.time)
204-
if(0 to 600)
204+
if(0 to 60)
205205
goes_off = GOES_OFF_SHUTTLE
206-
if(600 to 1200)
206+
if(60 to 120)
207207
goes_off = GOES_OFF_CENTCOM
208-
if(1200 to INFINITY)
208+
if(120 to INFINITY)
209209
goes_off = BOMB_DISARMED
210210
else if(istype(TTV.attached_device,/obj/item/device/assembly/prox_sensor))
211211
var/obj/item/device/assembly/prox_sensor/PS = TTV.attached_device
212212
if(PS.scanning)
213213
goes_off = GOES_OFF_CENTCOM
214-
timevalue = 600
214+
timevalue = 60
215215
else if(PS.timing)
216-
timevalue = clamp(PS.time,600,1200)
217-
if(PS.time < 1200)
216+
timevalue = clamp(PS.time,60,120)
217+
if(PS.time < 120)
218218
goes_off = GOES_OFF_CENTCOM
219219
else
220220
goes_off = BOMB_DISARMED

0 commit comments

Comments
 (0)