We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f7514c commit 746ff67Copy full SHA for 746ff67
1 file changed
code/WorkInProgress/salvager/salvager_magpie.dm
@@ -2,14 +2,14 @@
2
var/datum/magpie_manager/magpie_man = new
3
/datum/magpie_manager
4
var/obj/npc/trader/salvager/magpie
5
-#if !defined(LIVE_SERVER)
+#if !defined(LIVE_SERVER) && !defined(UNIT_TESTS)
6
var/datum/mapPrefab/allocated/salvager_local/local_prefab = new /datum/mapPrefab/allocated/salvager_local
7
#endif
8
9
proc/setup()
10
src.magpie = locate("M4GP13")
11
12
- #if !defined(LIVE_SERVER) // don't load the map prefab on live, it's only used for testing
+ #if !defined(LIVE_SERVER) && !defined(UNIT_TESTS) // don't load the map prefab on live, it's only used for testing
13
if( !magpie_man.magpie )
14
src.local_prefab = get_singleton(/datum/mapPrefab/allocated/salvager_local).load()
15
0 commit comments