Fixes a bunch runtimes

This commit is contained in:
Casey
2022-09-04 21:47:57 +00:00
committed by CHOMPStation2
parent 43928fcfb6
commit cfe8e710d2
7 changed files with 1781 additions and 10 deletions
+2 -2
View File
@@ -140,13 +140,13 @@
/mob/proc/on_hear_say(var/message)
to_chat(src, message)
if(teleop)
to_chat(teleop, create_text_tag("body", "BODY:", teleop) + "[message]")
to_chat(teleop, create_text_tag("body", "BODY:", teleop.client) + "[message]")
/mob/living/silicon/on_hear_say(var/message)
var/time = say_timestamp()
to_chat(src, "[time] [message]")
if(teleop)
to_chat(teleop, create_text_tag("body", "BODY:", teleop) + "[time] [message]")
to_chat(teleop, create_text_tag("body", "BODY:", teleop.client) + "[time] [message]")
// Checks if the mob's own name is included inside message. Handles both first and last names.
/mob/proc/check_mentioned(var/message)
@@ -194,7 +194,7 @@
//Hand slots themselves
inv_box = new /obj/screen/inventory/hand()
inv_box.hud = src
inv_box.hud = HUD
inv_box.name = "r_hand"
inv_box.icon = ui_style
inv_box.icon_state = "r_hand_inactive"
@@ -209,7 +209,7 @@
slot_info["[slot_r_hand]"] = inv_box.screen_loc
inv_box = new /obj/screen/inventory/hand()
inv_box.hud = src
inv_box.hud = HUD
inv_box.name = "l_hand"
inv_box.icon = ui_style
inv_box.icon_state = "l_hand_inactive"
File diff suppressed because it is too large Load Diff