mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Removes 509 support.
This commit is contained in:
@@ -25,9 +25,7 @@
|
||||
var/last_fire = 0 //last world.time we called fire()
|
||||
var/next_fire = 0 //scheduled world.time for next fire()
|
||||
var/cost = 0 //average time to execute
|
||||
#if DM_VERSION >= 510
|
||||
var/tick_usage = 0 //average tick usage
|
||||
#endif
|
||||
var/paused =0 //was this subsystem paused mid fire.
|
||||
var/times_fired = 0 //number of times we have called fire()
|
||||
|
||||
@@ -45,13 +43,11 @@
|
||||
set waitfor = 0 //this should not be depended upon, this is just to solve issues with sleeps messing up tick tracking
|
||||
can_fire = 0
|
||||
|
||||
#if DM_VERSION >= 510
|
||||
/datum/subsystem/proc/pause()
|
||||
. = 1
|
||||
if (!dynamic_wait)
|
||||
Master.priority_queue += src
|
||||
paused = 1
|
||||
#endif
|
||||
|
||||
//used to initialize the subsystem AFTER the map has loaded
|
||||
/datum/subsystem/proc/Initialize(start_timeofday, zlevel)
|
||||
@@ -73,11 +69,7 @@
|
||||
dwait = "DWait:[round(wait,0.1)]ds "
|
||||
|
||||
if(can_fire)
|
||||
#if DM_VERSION >= 510
|
||||
msg = "[round(cost,0.01)]ds|[round(tick_usage,1)]%\t[dwait][msg]"
|
||||
#else
|
||||
msg = "[round(cost,0.01)]ds\t[dwait][msg]"
|
||||
#endif
|
||||
else
|
||||
msg = "OFFLINE\t[msg]"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user