mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 16:48:12 +01:00
[MIRROR] Better borg modules (#11095)
Co-authored-by: Cameron Lennox <killer65311@gmail.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Cameron Lennox
Kashargul
parent
85abe91473
commit
f7e20d021e
@@ -113,12 +113,12 @@
|
||||
if(!isobserver(src)) //Make sure they're an observer!
|
||||
return
|
||||
|
||||
var/input = tgui_input_list(src, "Select a ghost pod:", "Ghost Jump", observe_list_format(active_ghost_pods))
|
||||
var/input = tgui_input_list(src, "Select a ghost pod:", "Ghost Jump", observe_list_format(GLOB.active_ghost_pods))
|
||||
if(!input)
|
||||
to_chat(src, span_filter_notice("No active ghost pods detected."))
|
||||
return
|
||||
|
||||
var/target = observe_list_format(active_ghost_pods)[input]
|
||||
var/target = observe_list_format(GLOB.active_ghost_pods)[input]
|
||||
if (!target)//Make sure we actually have a target
|
||||
return
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user