Default spawnpoint (#19258)

* Add a default spawn location

* Fix the unit test hopefully

* Rename and clean up the unit test

* Change it to use a defined spawnpoint datum

* Fix the build hopefully

* Fix the build x2

* Fix the build x3
This commit is contained in:
TheGreatKitsune
2026-03-11 21:21:02 +01:00
committed by GitHub
parent 2a8d4bab64
commit 94198bf007
3 changed files with 12 additions and 0 deletions
+6
View File
@@ -206,3 +206,9 @@
if(failed)
TEST_FAIL("Map has smes with duplicated RCon_tag")
/datum/unit_test/default_spawnpoint_exists
/datum/unit_test/default_spawnpoint_exists/Run()
var/datum/spawnpoint/default_spawnpoint = new DEFAULT_LATEJOIN_LOCATION()
TEST_ASSERT(LAZYLEN(default_spawnpoint.turfs), "Map does not define the default spawnpoint location ([default_spawnpoint.display_name])")