Skip to content

Commit

Permalink
kills dropship timelock
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Oct 21, 2023
1 parent e3ae9e9 commit 17eaa08
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions code/modules/shuttle/computers/dropship_computer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
var/dropship_control_lost = FALSE
var/door_control_cooldown

// Allows admins to var edit the time lock away.
var/skip_time_lock = FALSE

// Landing zones which can be used
var/compatible_landing_zones = list()

Expand Down Expand Up @@ -98,9 +95,6 @@
return UI_CLOSE
if(disabled)
return UI_UPDATE
if(!skip_time_lock && world.time < SSticker.mode.round_time_lobby + SHUTTLE_TIME_LOCK)
to_chat(user, SPAN_WARNING("The shuttle is still undergoing pre-flight fueling and cannot depart yet. Please wait another [round((SSticker.mode.round_time_lobby + SHUTTLE_TIME_LOCK-world.time)/600)] minutes before trying again."))
return UI_CLOSE
if(dropship_control_lost)
var/remaining_time = timeleft(door_control_cooldown) / 10
var/units = "seconds"
Expand Down

0 comments on commit 17eaa08

Please sign in to comment.