Events take pre-game lobby time into account (#32154)

* Events take pre-game lobby time into account

* Friends don't let friends code without coffee.

It would appear that  I have no friends

* i blame cyberboss
This commit is contained in:
Kyle Spier-Swenson
2017-10-29 08:36:44 -07:00
committed by CitadelStationBot
parent fd2705b6e6
commit 8d234df96f

View File

@@ -40,7 +40,7 @@
/datum/round_event_control/proc/canSpawnEvent(var/players_amt, var/gamemode)
if(occurrences >= max_occurrences)
return FALSE
if(earliest_start >= world.time)
if(earliest_start >= world.time-SSticker.round_start_time)
return FALSE
if(wizardevent != SSevents.wizardmode)
return FALSE