From 9c2e725e4b9c92bbc6fdf3eed9db2aa776b1868c Mon Sep 17 00:00:00 2001
From: variableundefined <40092670+variableundefined@users.noreply.github.com>
Date: Wed, 1 Aug 2018 17:44:09 +0800
Subject: [PATCH] Fixes some more runtime
---
code/modules/admin/admin.dm | 4 ++--
code/modules/flufftext/Dreaming.dm | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/code/modules/admin/admin.dm b/code/modules/admin/admin.dm
index 051f450179b..9a9a83f616b 100644
--- a/code/modules/admin/admin.dm
+++ b/code/modules/admin/admin.dm
@@ -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, "SILICON [key_name(S, usr)]'s laws:")
+ to_chat(usr, "SILICON [key_name(S, TRUE)]'s laws:")
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)
diff --git a/code/modules/flufftext/Dreaming.dm b/code/modules/flufftext/Dreaming.dm
index b69ed4738b6..ea35118ab11 100644
--- a/code/modules/flufftext/Dreaming.dm
+++ b/code/modules/flufftext/Dreaming.dm
@@ -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 = "[dream_image]"
to_chat(src, "... [dream_image] ...")
-