Fixed another stack of runtime errors.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@225 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
n3ophyt3@gmail.com
2010-09-29 20:51:24 +00:00
parent cf97d04791
commit 21f5efb892
9 changed files with 48 additions and 37 deletions
+2 -1
View File
@@ -1276,8 +1276,9 @@ var/showadminmessages = 1
if("showgm")
if(!ticker)
alert("The game hasn't started yet!")
else
else if (ticker.mode)
alert("The game mode is [ticker.mode.name]")
else alert("For some reason there's a ticker, but not a game mode")
if("manifest")
var/dat = "<B>Showing Crew Manifest.</B><HR>"
dat += "<table cellspacing=5><tr><th>Name</th><th>Position</th></tr>"
@@ -33,7 +33,8 @@
src.verbs += /mob/proc/ghostize
var/tod = time2text(world.realtime,"hh:mm:ss") //weasellos time of death patch
mind.store_memory("Time of death: [tod]", 0)
if (mind) mind.store_memory("Time of death: [tod]", 0)
else src << "We seem to have misplaced your mind datum, so we can't add this to your memory, but you died at [tod]"
var/cancel
for (var/mob/M in world)
+6 -3
View File
@@ -1196,8 +1196,10 @@
/mob/verb/memory()
set name = "Notes"
mind.show_memory(src)
if(mind)
mind.show_memory(src)
else
src << "The game appears to have misplaced your mind datum, so we can't show you your notes."
/mob/verb/add_memory(msg as message)
set name = "Add Note"
@@ -1374,7 +1376,8 @@
// world << "comparing [B.current] to [eye]"
if (B.current == eye)
for (var/mob/living/silicon/decoy/D in world)
eye = D
if (eye)
eye = D
if (eye)
src.client.eye = eye
else