mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
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:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user