From beb021051be8f753636e4bae132f3d57e07e20fc Mon Sep 17 00:00:00 2001 From: Aurorablade Date: Sun, 27 Aug 2017 23:55:31 -0400 Subject: [PATCH] fized --- code/datums/holocall.dm | 4 +++- code/game/machinery/hologram.dm | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/code/datums/holocall.dm b/code/datums/holocall.dm index 505e2f63243..dd150702bd2 100644 --- a/code/datums/holocall.dm +++ b/code/datums/holocall.dm @@ -86,6 +86,7 @@ connected_holopad.atom_say("[usr] disconnected.") user.unset_machine(H) + hangup.Remove(user) ConnectionFailure(H, TRUE) @@ -145,7 +146,8 @@ user.reset_perspective(eye) eye.setLoc(get_turf(H)) - hangup = new(eye, src) + hangup = new(eye,src) + hangup.Grant(user) //Checks the validity of a holocall and qdels itself if it's not. Returns TRUE if valid, FALSE otherwise /datum/holocall/proc/Check() diff --git a/code/game/machinery/hologram.dm b/code/game/machinery/hologram.dm index 8f9d8e6a120..c7a41eb7937 100644 --- a/code/game/machinery/hologram.dm +++ b/code/game/machinery/hologram.dm @@ -51,7 +51,7 @@ var/list/holopads = list() var/temp = "" var/list/holo_calls //array of /datum/holocalls var/datum/holocall/outgoing_call //do not modify the datums only check and call the public procs - var/static/force_answer_call = TRUE //Calls will be automatically answered after a couple rings, here for debugging + var/static/force_answer_call = FALSE //Calls will be automatically answered after a couple rings, here for debugging var/static/list/holopads = list() /obj/machinery/hologram/holopad/New()