[MIRROR] Refactor crew manifest in lobby and ghost actions (#4791)

* Refactor crew manifest in lobby, ghost and AI actions (#58275)

Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>

* Refactor crew manifest in lobby and ghost actions

Co-authored-by: celotajstg <81999976+celotajstg@users.noreply.github.com>
Co-authored-by: celotajstg <celotajstg@ users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-04-10 17:55:36 +02:00
committed by GitHub
parent c08b4aca2a
commit 88b2d4d207
10 changed files with 184 additions and 17 deletions
+3 -4
View File
@@ -681,11 +681,10 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
return
client.crew_manifest_delay = world.time + (1 SECONDS)
var/dat
dat += "<h4>Crew Manifest</h4>"
dat += GLOB.data_core.get_manifest_html()
if(!GLOB.crew_manifest_tgui)
GLOB.crew_manifest_tgui = new /datum/crew_manifest(src)
src << browse(dat, "window=manifest;size=387x420;can_close=1")
GLOB.crew_manifest_tgui.ui_interact(src)
//this is called when a ghost is drag clicked to something.
/mob/dead/observer/MouseDrop(atom/over)