Skip to content

Commit

Permalink
tgui: Holopad (tgstation#51433)
Browse files Browse the repository at this point in the history
* Initial commit

* First version

* Final version

* Status fix

* Finishing touches and review fixes
  • Loading branch information
Arkatos1 authored Jun 10, 2020
1 parent 495ab46 commit 47d1d6f
Show file tree
Hide file tree
Showing 4 changed files with 317 additions and 180 deletions.
3 changes: 2 additions & 1 deletion code/datums/holocall.dm
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
dialed_holopads.Cut()

if(calling_holopad)
calling_holopad.calling = FALSE
calling_holopad.outgoing_call = null
calling_holopad.SetLightsAndPower()
calling_holopad = null
Expand Down Expand Up @@ -154,6 +155,7 @@
if(!Check())
return

calling_holopad.calling = FALSE
hologram = H.activate_holo(user)
hologram.HC = src

Expand Down Expand Up @@ -189,7 +191,6 @@
. = world.time < (call_start_time + HOLOPAD_MAX_DIAL_TIME)
if(!.)
calling_holopad.say("No answer received.")
calling_holopad.temp = ""

if(!.)
testing("Holocall Check fail")
Expand Down
Loading

0 comments on commit 47d1d6f

Please sign in to comment.