mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Added some (admin-visible only) debug code to the decoy AI to figure out why it's not working on the live server, while it works fine on my test server.
git-svn-id: http://tgstation13.googlecode.com/svn/trunk@108 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
@@ -140,9 +140,12 @@
|
||||
spawn(50)
|
||||
world << sound('newAI.ogg')
|
||||
|
||||
log_admin("DEBUG TIME: Approaching the part of the code where a decoy AI gets spawned if the mode is Malf.")
|
||||
if (ticker.mode.name == "AI malfunction")
|
||||
log_admin("DEBUG TIME: Game ticker says the mode is malfunction, proceeding with locating spawn point for decoy.")
|
||||
for (var/obj/landmark/start/A in world)
|
||||
if (A.name == "AI")
|
||||
log_admin("DEBUG TIME: Found the spawn point, spawning a decoy AI.")
|
||||
var/mob/living/silicon/decoy/D = new /mob/living/silicon/decoy(A.loc)
|
||||
D.name = O.name
|
||||
del(src)
|
||||
|
||||
Reference in New Issue
Block a user