mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Duplicates the speed of the gameticker!
The emtiter beams were holding back the gameticker, 0.3 seconds per beam, now the sleep() is replaced with a spawn() instead. This will add lag due to everything being faster.
This commit is contained in:
@@ -71,8 +71,8 @@ var/list/beam_master = list()
|
|||||||
..()
|
..()
|
||||||
|
|
||||||
proc/cleanup(reference) //Waits .3 seconds then removes the overlay.
|
proc/cleanup(reference) //Waits .3 seconds then removes the overlay.
|
||||||
src = null
|
src = null //we're getting deleted! this will keep the code running
|
||||||
sleep(3)
|
spawn(3)
|
||||||
var/list/turf_master = beam_master[reference]
|
var/list/turf_master = beam_master[reference]
|
||||||
for(var/laser_state in turf_master)
|
for(var/laser_state in turf_master)
|
||||||
var/list/turfs = turf_master[laser_state]
|
var/list/turfs = turf_master[laser_state]
|
||||||
|
|||||||
Reference in New Issue
Block a user