Patches some awful integrated circuit examiner runtime errors.

This commit is contained in:
Ghommie
2020-03-06 14:56:49 +01:00
parent 5250fa1db1
commit 5d6eb6f24b
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -407,6 +407,7 @@ GLOBAL_LIST_INIT(pda_reskins, list(PDA_SKIN_CLASSIC = 'icons/obj/pda.dmi', PDA_S
#define DUMMY_HUMAN_SLOT_ADMIN "admintools"
#define DUMMY_HUMAN_SLOT_MANIFEST "dummy_manifest_generation"
#define DUMMY_HUMAN_SLOT_HALLUCINATION "dummy_hallucination"
#define DUMMY_HUMAN_SLOT_EXAMINER "dummy_examiner"
#define PR_ANNOUNCEMENTS_PER_ROUND 5 //The number of unique PR announcements allowed per round
//This makes sure that a single person can only spam 3 reopens and 3 closes before being ignored
@@ -349,8 +349,8 @@
set_pin_data(IC_OUTPUT, 2, H.desc)
if(istype(H, /mob/living))
var/mob/living/M = H
var/msg = M.examine()
var/mob/living/carbon/human/D = generate_or_wait_for_human_dummy(DUMMY_HUMAN_SLOT_EXAMINER)
var/msg = H.examine(D)
if(msg)
set_pin_data(IC_OUTPUT, 2, msg)