mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
CHECK_TICK in xenoarch setup for the sake of largermaps
This commit is contained in:
@@ -99,6 +99,9 @@ SUBSYSTEM_DEF(xenoarch)
|
||||
if(isnull(M.artifact_find) && digsite != DIGSITE_GARDEN && digsite != DIGSITE_ANIMAL)
|
||||
artifact_spawning_turfs.Add(archeo_turf)
|
||||
|
||||
//Larger maps will convince byond this is an infinite loop, so let go for a second
|
||||
CHECK_TICK
|
||||
|
||||
//create artifact machinery
|
||||
var/num_artifacts_spawn = rand(ARTIFACTSPAWNNUM_LOWER, ARTIFACTSPAWNNUM_UPPER)
|
||||
while(artifact_spawning_turfs.len > num_artifacts_spawn)
|
||||
|
||||
Reference in New Issue
Block a user