Added a debugging check for observer mobs

This commit is contained in:
Albert Iordache
2012-06-09 12:03:16 +03:00
parent 95b0ebc075
commit e93d777229

View File

@@ -111,6 +111,8 @@
if(alert(src,"Are you sure you wish to observe? You will not be able to play this round!","Player Setup","Yes","No") == "Yes")
var/mob/dead/observer/observer = new()
if(isnull(observer))
CRASH("An observer mob could not be created. ( null after var/mob/dead/observer/observer = new() )
spawning = 1
src << sound(null, repeat = 0, wait = 0, volume = 85, channel = 1) // MAD JAMS cant last forever yo