Fixes some more runtime

This commit is contained in:
variableundefined
2018-08-01 17:44:09 +08:00
parent 370a2cd61e
commit 9c2e725e4b
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -878,10 +878,10 @@ var/global/nologevent = 0
to_chat(usr, "[P.pai_laws]")
continue // Skip showing normal silicon laws for pAIs - they don't have any
else
to_chat(usr, "<b>SILICON [key_name(S, usr)]'s laws:</b>")
to_chat(usr, "<b>SILICON [key_name(S, TRUE)]'s laws:</b>")
if(S.laws == null)
to_chat(usr, "[key_name(S, usr)]'s laws are null. Contact a coder.")
to_chat(usr, "[key_name(S, TRUE)]'s laws are null. Contact a coder.")
else
S.laws.show_laws(usr)
if(!ai_number)
+1 -2
View File
@@ -33,7 +33,7 @@
dream_images += pick_n_take(nightmares)
nightmare++
for(var/i in 1 to dream_images.len)
addtimer(CALLBACK(src, .proc/experience_dream, nightmares[i], TRUE), ((i - 1) * rand(30,60)))
addtimer(CALLBACK(src, .proc/experience_dream, dream_images[i], TRUE), ((i - 1) * rand(30,60)))
return TRUE
/mob/living/carbon/proc/handle_dreams()
@@ -54,4 +54,3 @@
if(isNightmare)
dream_image = "<span class='cultitalic'>[dream_image]</span>"
to_chat(src, "<span class='notice'><i>... [dream_image] ...</i></span>")