Merge pull request #11357 from Ghommie/Ghommie-cit606
Patches some awful integrated circuit examiner runtime errors.
This commit is contained in:
@@ -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,10 +349,11 @@
|
||||
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)
|
||||
unset_busy_human_dummy(DUMMY_HUMAN_SLOT_EXAMINER)
|
||||
|
||||
set_pin_data(IC_OUTPUT, 3, H.x-T.x)
|
||||
set_pin_data(IC_OUTPUT, 4, H.y-T.y)
|
||||
|
||||
Reference in New Issue
Block a user