mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 06:00:23 +01:00
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:
@@ -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])")
|
||||
|
||||
Reference in New Issue
Block a user