mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Fix the runtime on server boot caused by uninitialized using_map
This commit is contained in:
@@ -89,6 +89,7 @@
|
|||||||
|
|
||||||
/datum/lore/organization/tsc/nanotrasen/New()
|
/datum/lore/organization/tsc/nanotrasen/New()
|
||||||
..()
|
..()
|
||||||
|
spawn(1) // BYOND shenanigans means using_map is not initialized yet. Wait a tick.
|
||||||
// Get rid of the current map from the list, so ships flying in don't say they're coming to the current map.
|
// Get rid of the current map from the list, so ships flying in don't say they're coming to the current map.
|
||||||
var/string_to_test = "[using_map.station_name] in [using_map.starsys_name]"
|
var/string_to_test = "[using_map.station_name] in [using_map.starsys_name]"
|
||||||
if(string_to_test in destination_names)
|
if(string_to_test in destination_names)
|
||||||
|
|||||||
Reference in New Issue
Block a user