mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Co-authored-by: Selis <12716288+ItsSelis@users.noreply.github.com> Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
483 lines
18 KiB
Plaintext
483 lines
18 KiB
Plaintext
SUBSYSTEM_DEF(statpanels)
|
|
name = "Stat Panels"
|
|
wait = 4
|
|
init_order = INIT_ORDER_STATPANELS
|
|
//init_stage = INITSTAGE_EARLY
|
|
priority = FIRE_PRIORITY_STATPANEL
|
|
runlevels = RUNLEVELS_DEFAULT | RUNLEVEL_LOBBY
|
|
flags = SS_NO_INIT
|
|
var/list/currentrun = list()
|
|
var/list/global_data
|
|
var/list/mc_data
|
|
var/list/cached_images = list()
|
|
|
|
///how many subsystem fires between most tab updates
|
|
var/default_wait = 10
|
|
///how many subsystem fires between updates of misc tabs
|
|
var/misc_wait = 3
|
|
///how many subsystem fires between updates of the status tab
|
|
var/status_wait = 2
|
|
///how many subsystem fires between updates of the MC tab
|
|
var/mc_wait = 5
|
|
///how many full runs this subsystem has completed. used for variable rate refreshes.
|
|
var/num_fires = 0
|
|
|
|
/datum/controller/subsystem/statpanels/fire(resumed = FALSE)
|
|
if (!resumed)
|
|
num_fires++
|
|
//var/datum/map_config/cached = SSmapping.next_map_config
|
|
global_data = list(
|
|
//"Map: [SSmapping.config?.map_name || "Loading..."]",
|
|
"Map: [using_map.name]",
|
|
//cached ? "Next Map: [cached.map_name]" : null,
|
|
//"Next Map: -- Not Available --",
|
|
"Round ID: [GLOB.round_id ? GLOB.round_id : "NULL"]",
|
|
"Server Time: [time2text(world.timeofday, "YYYY-MM-DD hh:mm:ss")]",
|
|
"Round Time: [roundduration2text()]",
|
|
"Station Date: [stationdate2text()], [capitalize(GLOB.world_time_season)]", // CHOMPEdit
|
|
"Station Time: [stationtime2text()]",
|
|
"Time Dilation: [round(SStime_track.time_dilation_current,1)]% AVG:([round(SStime_track.time_dilation_avg_fast,1)]%, [round(SStime_track.time_dilation_avg,1)]%, [round(SStime_track.time_dilation_avg_slow,1)]%)"
|
|
)
|
|
|
|
if(emergency_shuttle.evac)
|
|
var/ETA = emergency_shuttle.get_status_panel_eta()
|
|
if(ETA)
|
|
global_data += "[ETA]"
|
|
src.currentrun = GLOB.clients.Copy()
|
|
mc_data = null
|
|
|
|
var/list/currentrun = src.currentrun
|
|
while(length(currentrun))
|
|
var/client/target = currentrun[length(currentrun)]
|
|
currentrun.len--
|
|
|
|
if(!target?.stat_panel?.is_ready()) // Null target client, client has null stat panel, or stat panel isn't ready
|
|
continue
|
|
|
|
if(target.stat_tab == "Status" && num_fires % status_wait == 0)
|
|
set_status_tab(target)
|
|
|
|
if(!target.holder)
|
|
target.stat_panel.send_message("remove_admin_tabs")
|
|
else
|
|
//target.stat_panel.send_message("update_split_admin_tabs", !!(target.prefs.toggles & SPLIT_ADMIN_TABS))
|
|
target.stat_panel.send_message("update_split_admin_tabs", FALSE)
|
|
|
|
if(!("MC" in target.panel_tabs) || !("Tickets" in target.panel_tabs))
|
|
target.stat_panel.send_message("add_admin_tabs", target.holder.href_token)
|
|
|
|
//if(target.stat_tab == "MC" && ((num_fires % mc_wait == 0) || target?.prefs.read_preference(/datum/preference/toggle/fast_mc_refresh)))
|
|
//set_MC_tab(target)
|
|
if(target.stat_tab == "MC" && ((num_fires % mc_wait == 0)))
|
|
set_MC_tab(target)
|
|
|
|
if(target.stat_tab == "Tickets" && num_fires % default_wait == 0)
|
|
set_tickets_tab(target)
|
|
|
|
if(!length(GLOB.sdql2_queries) && ("SDQL2" in target.panel_tabs))
|
|
target.stat_panel.send_message("remove_sdql2")
|
|
|
|
else if(length(GLOB.sdql2_queries) && (target.stat_tab == "SDQL2" || !("SDQL2" in target.panel_tabs)) && num_fires % default_wait == 0)
|
|
set_SDQL2_tab(target)
|
|
|
|
if(target.mob)
|
|
var/mob/target_mob = target.mob
|
|
|
|
// Handle the action panels of the stat panel
|
|
|
|
var/update_actions = FALSE
|
|
// We're on a spell tab, update the tab so we can see cooldowns progressing and such
|
|
if(target.stat_tab in target.spell_tabs)
|
|
update_actions = TRUE
|
|
// We're not on a spell tab per se, but we have cooldown actions, and we've yet to
|
|
// set up our spell tabs at all
|
|
//if(!length(target.spell_tabs) && locate(/datum/action/cooldown) in target_mob.actions)
|
|
//update_actions = TRUE
|
|
|
|
if(update_actions && num_fires % default_wait == 0)
|
|
set_action_tabs(target, target_mob)
|
|
//Update every fire if tab is open, otherwise update every 7 fires
|
|
if((num_fires % misc_wait == 0))
|
|
update_misc_tabs(target,target_mob)
|
|
|
|
var/datum/object_window_info/obj_window = target.obj_window
|
|
if(obj_window)
|
|
if(obj_window.flags & TURFLIST_UPDATE_QUEUED)
|
|
immediate_send_stat_data(target)
|
|
obj_window.flags = 0
|
|
|
|
if(MC_TICK_CHECK)
|
|
return
|
|
|
|
/datum/controller/subsystem/statpanels/proc/update_misc_tabs(var/client/target,var/mob/target_mob)
|
|
target_mob.update_misc_tabs()
|
|
for(var/tab in target_mob.misc_tabs)
|
|
if(target_mob.misc_tabs[tab].len == 0 && (tab in target.misc_tabs))
|
|
target.misc_tabs -= tab
|
|
target.stat_panel.send_message("remove_misc",tab)
|
|
|
|
if(target_mob.misc_tabs[tab].len > 0)
|
|
if(!(tab in target.misc_tabs))
|
|
target.misc_tabs += tab
|
|
target.stat_panel.send_message("create_misc",tab)
|
|
target.stat_panel.send_message("update_misc",list(
|
|
TN = tab, \
|
|
TC = target_mob.misc_tabs[tab], \
|
|
))
|
|
|
|
for(var/tab in target.misc_tabs)
|
|
if(!(tab in target_mob.misc_tabs))
|
|
target.misc_tabs -= tab
|
|
target.stat_panel.send_message("remove_misc",tab)
|
|
|
|
/datum/controller/subsystem/statpanels/proc/set_status_tab(client/target)
|
|
if(!global_data)//statbrowser hasnt fired yet and we were called from immediate_send_stat_data()
|
|
return
|
|
|
|
target.stat_panel.send_message("update_stat", list(
|
|
global_data = global_data,
|
|
ping_str = "Ping: [round(target.lastping, 1)]ms (Average: [round(target.avgping, 1)]ms)",
|
|
other_str = target.mob?.get_status_tab_items(),
|
|
))
|
|
|
|
/datum/controller/subsystem/statpanels/proc/set_MC_tab(client/target)
|
|
var/turf/eye_turf = get_turf(target.eye)
|
|
var/coord_entry = COORD(eye_turf)
|
|
if(!mc_data)
|
|
generate_mc_data()
|
|
target.stat_panel.send_message("update_mc", list(mc_data = mc_data, coord_entry = coord_entry))
|
|
|
|
/datum/controller/subsystem/statpanels/proc/set_examine_tab(client/target)
|
|
var/description_holders = target.description_holders
|
|
var/list/examine_update = list()
|
|
|
|
if(!target.obj_window)
|
|
target.obj_window = new(target)
|
|
if(!target.examine_icon && !target.obj_window.examine_target && target.stat_tab == "Examine")
|
|
target.obj_window.examine_target = description_holders["icon"]
|
|
target.obj_window.atoms_to_show += target.obj_window.examine_target
|
|
START_PROCESSING(SSobj_tab_items, target.obj_window)
|
|
refresh_client_obj_view(target)
|
|
examine_update += "[target.examine_icon] <font size='5'>[description_holders["name"]]</font>" //The name, written in big letters.
|
|
examine_update += "[description_holders["desc"]]" //the default examine text.
|
|
if(description_holders["info"])
|
|
examine_update += "<font color='#084B8A'>" + span_bold("[replacetext(description_holders["info"], "\n", "<BR>")]") + "</font><br />" //Blue, informative text.
|
|
if(description_holders["interactions"])
|
|
for(var/line in description_holders["interactions"])
|
|
examine_update += "<font color='#084B8A'>" + span_bold("[line]") + "</font><br />"
|
|
if(description_holders["fluff"])
|
|
examine_update += "<font color='#298A08'>" + span_bold("[replacetext(description_holders["fluff"], "\n", "<BR>")]") + "</font><br />" //Green, fluff-related text.
|
|
if(description_holders["antag"])
|
|
examine_update += "<font color='#8A0808'>" + span_bold("[description_holders["antag"]]") + "</font><br />" //Red, malicious antag-related text
|
|
|
|
target.stat_panel.send_message("update_examine", examine_update)
|
|
|
|
/datum/controller/subsystem/statpanels/proc/set_tickets_tab(client/target)
|
|
/* CHOMPRemove Start, our tickets are handled differently
|
|
var/list/tickets = list()
|
|
if(check_rights(R_ADMIN|R_SERVER|R_MOD,FALSE,target)) //Prevents non-staff from opening the list of ahelp tickets
|
|
*/// CHOMPRemove End
|
|
var/list/tickets = GLOB.tickets.stat_entry(target) // CHOMPEdit
|
|
target.stat_panel.send_message("update_tickets", tickets)
|
|
|
|
/datum/controller/subsystem/statpanels/proc/set_SDQL2_tab(client/target)
|
|
var/list/sdql2A = list()
|
|
sdql2A[++sdql2A.len] = list("", "Access Global SDQL2 List", REF(GLOB.sdql2_vv_statobj))
|
|
var/list/sdql2B = list()
|
|
for(var/datum/SDQL2_query/query as anything in GLOB.sdql2_queries)
|
|
sdql2B = query.generate_stat()
|
|
|
|
sdql2A += sdql2B
|
|
target.stat_panel.send_message("update_sdql2", sdql2A)
|
|
|
|
/// Set up the various action tabs.
|
|
/datum/controller/subsystem/statpanels/proc/set_action_tabs(client/target, mob/target_mob)
|
|
return
|
|
//var/list/actions = target_mob.get_actions_for_statpanel()
|
|
//target.spell_tabs.Cut()
|
|
|
|
//for(var/action_data in actions)
|
|
// target.spell_tabs |= action_data[1]
|
|
|
|
//target.stat_panel.send_message("update_spells", list(spell_tabs = target.spell_tabs, actions = actions))
|
|
|
|
/datum/controller/subsystem/statpanels/proc/set_turf_examine_tab(client/target, mob/target_mob)
|
|
if(!target)//statbrowser hasnt fired yet and we were called from immediate_send_stat_data()
|
|
return
|
|
var/list/overrides = list()
|
|
for(var/image/target_image as anything in target.images)
|
|
if(!target_image.loc || target_image.loc.loc != target.tracked_turf || !target_image.override)
|
|
continue
|
|
overrides += target_image.loc
|
|
|
|
var/list/atoms_to_display = list(target.tracked_turf)
|
|
for(var/atom/movable/turf_content as anything in target.tracked_turf)
|
|
if(turf_content.mouse_opacity == MOUSE_OPACITY_TRANSPARENT)
|
|
continue
|
|
if(turf_content.invisibility > target_mob.see_invisible)
|
|
continue
|
|
if(turf_content in overrides)
|
|
continue
|
|
//if(turf_content.IsObscured())
|
|
//continue
|
|
atoms_to_display += turf_content
|
|
|
|
/// Set the atoms we're meant to display
|
|
var/datum/object_window_info/obj_window = target.obj_window
|
|
if(!obj_window)
|
|
return // previous one no longer exists
|
|
obj_window.atoms_to_show = atoms_to_display
|
|
START_PROCESSING(SSobj_tab_items, obj_window)
|
|
refresh_client_obj_view(target)
|
|
|
|
/datum/controller/subsystem/statpanels/proc/refresh_client_obj_view(client/refresh)
|
|
var/list/turf_items = return_object_images(refresh)
|
|
if(!length(turf_items)/* || !refresh.mob?.listed_turf*/)
|
|
return
|
|
refresh.stat_panel.send_message("update_listedturf", turf_items)
|
|
|
|
#define OBJ_IMAGE_LOADING "statpanels obj loading temporary"
|
|
/// Returns all our ready object tab images
|
|
/// Returns a list in the form list(list(object_name, object_ref, loaded_image), ...)
|
|
/datum/controller/subsystem/statpanels/proc/return_object_images(client/load_from)
|
|
// You might be inclined to think that this is a waste of cpu time, since we
|
|
// A: Double iterate over atoms in the build case, or
|
|
// B: Generate these lists over and over in the refresh case
|
|
// It's really not very hot. The hot portion of this code is genuinely mostly in the image generation
|
|
// So it's ok to pay a performance cost for cleanliness here
|
|
|
|
// No turf? go away
|
|
/*if(!load_from.mob?.listed_turf)
|
|
return list()*/
|
|
var/datum/object_window_info/obj_window = load_from.obj_window
|
|
var/list/already_seen = obj_window.atoms_to_images
|
|
var/list/to_make = obj_window.atoms_to_imagify
|
|
var/list/turf_items = list()
|
|
for(var/atom/turf_item as anything in obj_window.atoms_to_show)
|
|
// First, we fill up the list of refs to display
|
|
// If we already have one, just use that
|
|
var/existing_image = already_seen[turf_item]
|
|
if(existing_image == OBJ_IMAGE_LOADING)
|
|
continue
|
|
// We already have it. Success!
|
|
if(existing_image)
|
|
if(turf_item == obj_window.examine_target) //not actually a turf item get trolled
|
|
load_from.examine_icon = "<img src=\"[existing_image]\" />"
|
|
obj_window.examine_target = null
|
|
set_examine_tab(load_from)
|
|
continue
|
|
turf_items[++turf_items.len] = list("[turf_item.name]", REF(turf_item), existing_image)
|
|
continue
|
|
// Now, we're gonna queue image generation out of those refs
|
|
to_make += turf_item
|
|
already_seen[turf_item] = OBJ_IMAGE_LOADING
|
|
obj_window.RegisterSignal(turf_item, COMSIG_PARENT_QDELETING, TYPE_PROC_REF(/datum/object_window_info,viewing_atom_deleted)) // we reset cache if anything in it gets deleted
|
|
return turf_items
|
|
|
|
#undef OBJ_IMAGE_LOADING
|
|
|
|
/datum/controller/subsystem/statpanels/proc/generate_mc_data()
|
|
mc_data = list(
|
|
list("CPU:", world.cpu),
|
|
list("Instances:", "[num2text(world.contents.len, 10)]"),
|
|
list("World Time:", "[world.time]"),
|
|
list("Globals:", GLOB.stat_entry(), "\ref[GLOB]"),
|
|
list("[config]:", config.stat_entry(), "\ref[config]"), // CHOMPEdit
|
|
list("Byond:", "(FPS:[world.fps]) (TickCount:[world.time/world.tick_lag]) (TickDrift:[round(Master.tickdrift,1)]([round((Master.tickdrift/(world.time/world.tick_lag))*100,0.1)]%)) (Internal Tick Usage: [round(MAPTICK_LAST_INTERNAL_TICK_USAGE,0.1)]%)"),
|
|
list("Master Controller:", Master.stat_entry(), "\ref[Master]"),
|
|
list("Failsafe Controller:", Failsafe.stat_entry(), "\ref[Failsafe]"),
|
|
list("","")
|
|
)
|
|
for(var/datum/controller/subsystem/sub_system as anything in Master.subsystems)
|
|
mc_data[++mc_data.len] = list("\[[sub_system.state_letter()]][sub_system.name]", sub_system.stat_entry(), "\ref[sub_system]")
|
|
mc_data[++mc_data.len] = list("Camera Net", "Cameras: [global.cameranet.cameras.len] | Chunks: [global.cameranet.chunks.len]", "\ref[global.cameranet]")
|
|
|
|
///immediately update the active statpanel tab of the target client
|
|
/datum/controller/subsystem/statpanels/proc/immediate_send_stat_data(client/target)
|
|
if(!target.stat_panel.is_ready())
|
|
return FALSE
|
|
|
|
if(target.stat_tab == "Examine")
|
|
set_examine_tab(target)
|
|
return TRUE
|
|
|
|
if(target.stat_tab == "Status")
|
|
set_status_tab(target)
|
|
return TRUE
|
|
|
|
var/mob/target_mob = target.mob
|
|
|
|
// Handle actions
|
|
|
|
var/update_actions = FALSE
|
|
if(target.stat_tab in target.spell_tabs)
|
|
update_actions = TRUE
|
|
|
|
//if(!length(target.spell_tabs) && locate(/datum/action/cooldown) in target_mob.actions)
|
|
//update_actions = TRUE
|
|
|
|
if(update_actions)
|
|
set_action_tabs(target, target_mob)
|
|
return TRUE
|
|
|
|
// Handle turfs
|
|
|
|
if(target.tracked_turf)
|
|
if(!target_mob.TurfAdjacent(target.tracked_turf))
|
|
target_mob.set_listed_turf(null)
|
|
|
|
else if(target.stat_tab == target.tracked_turf.name || !(target.tracked_turf.name in target.panel_tabs))
|
|
set_turf_examine_tab(target, target_mob)
|
|
return TRUE
|
|
|
|
if(!target.holder)
|
|
return FALSE
|
|
|
|
if(target.stat_tab == "MC")
|
|
set_MC_tab(target)
|
|
return TRUE
|
|
|
|
if(target.stat_tab == "Tickets")
|
|
set_tickets_tab(target)
|
|
return TRUE
|
|
|
|
if(!length(GLOB.sdql2_queries) && ("SDQL2" in target.panel_tabs))
|
|
target.stat_panel.send_message("remove_sdql2")
|
|
|
|
else if(length(GLOB.sdql2_queries) && target.stat_tab == "SDQL2")
|
|
set_SDQL2_tab(target)
|
|
|
|
/atom/proc/remove_from_cache()
|
|
SIGNAL_HANDLER
|
|
SSstatpanels.cached_images -= REF(src)
|
|
|
|
/// Stat panel window declaration
|
|
/client/var/datum/tgui_window/stat_panel
|
|
/// Turf examine turf
|
|
/client/var/turf/tracked_turf
|
|
|
|
/// Datum that holds and tracks info about a client's object window
|
|
/// Really only exists because I want to be able to do logic with signals
|
|
/// And need a safe place to do the registration
|
|
/datum/object_window_info
|
|
/// list of atoms to show to our client via the object tab, at least currently
|
|
var/list/atoms_to_show = list()
|
|
/// list of atom -> image string for objects we have had in the right click tab
|
|
/// this is our caching
|
|
var/list/atoms_to_images = list()
|
|
/// list of atoms to turn into images for the object tab
|
|
var/list/atoms_to_imagify = list()
|
|
/// Our owner client
|
|
var/client/parent
|
|
///For reusing this logic for examines
|
|
var/atom/examine_target
|
|
var/flags = 0
|
|
|
|
/datum/object_window_info/New(client/parent)
|
|
. = ..()
|
|
src.parent = parent
|
|
|
|
/datum/object_window_info/Destroy(force, ...)
|
|
atoms_to_show = null
|
|
atoms_to_images = null
|
|
atoms_to_imagify = null
|
|
parent.obj_window = null
|
|
parent = null
|
|
STOP_PROCESSING(SSobj_tab_items, src)
|
|
return ..()
|
|
|
|
/// Takes a client, attempts to generate object images for it
|
|
/// We will update the client with any improvements we make when we're done
|
|
/datum/object_window_info/process(seconds_per_tick)
|
|
// Cache the datum access for sonic speed
|
|
var/list/to_make = atoms_to_imagify
|
|
var/list/newly_seen = atoms_to_images
|
|
var/index = 0
|
|
for(index in 1 to length(to_make))
|
|
var/atom/thing = to_make[index]
|
|
|
|
if(!thing) // A null thing snuck in somehow
|
|
continue
|
|
|
|
var/generated_string
|
|
if(ismob(thing) || length(thing.overlays) > 0)
|
|
var/force_south = FALSE
|
|
if(isliving(thing))
|
|
force_south = TRUE
|
|
generated_string = costly_icon2html(thing, parent, sourceonly=TRUE, force_south = force_south)
|
|
else
|
|
generated_string = icon2html(thing, parent, sourceonly=TRUE)
|
|
|
|
newly_seen[thing] = generated_string
|
|
if(TICK_CHECK)
|
|
to_make.Cut(1, index + 1)
|
|
index = 0
|
|
break
|
|
// If we've not cut yet, do it now
|
|
if(index)
|
|
to_make.Cut(1, index + 1)
|
|
SSstatpanels.refresh_client_obj_view(parent)
|
|
if(!length(to_make))
|
|
return PROCESS_KILL
|
|
|
|
/datum/object_window_info/proc/start_turf_tracking(turf/new_turf)
|
|
if(parent.tracked_turf)
|
|
stop_turf_tracking()
|
|
var/static/list/connections = list(
|
|
COMSIG_MOVABLE_MOVED = PROC_REF(on_mob_move),
|
|
COMSIG_MOB_LOGOUT = PROC_REF(on_mob_logout),
|
|
)
|
|
AddComponent(/datum/component/connect_mob_behalf, parent, connections)
|
|
RegisterSignal(new_turf, COMSIG_ATOM_ENTERED, PROC_REF(turflist_changed))
|
|
RegisterSignal(new_turf, COMSIG_ATOM_EXITED, PROC_REF(turflist_changed))
|
|
parent.stat_panel.send_message("create_listedturf", new_turf)
|
|
parent.tracked_turf = new_turf
|
|
|
|
/datum/object_window_info/proc/stop_turf_tracking()
|
|
if(GetComponent(/datum/component/connect_mob_behalf))
|
|
qdel(GetComponent(/datum/component/connect_mob_behalf))
|
|
if(parent.tracked_turf)
|
|
UnregisterSignal(parent.tracked_turf, COMSIG_ATOM_ENTERED)
|
|
UnregisterSignal(parent.tracked_turf, COMSIG_ATOM_EXITED)
|
|
parent.stat_panel.send_message("remove_listedturf")
|
|
parent.tracked_turf = null
|
|
|
|
/datum/object_window_info/proc/on_mob_move(mob/source)
|
|
SIGNAL_HANDLER
|
|
if(!parent.tracked_turf || !source.TurfAdjacent(parent.tracked_turf))
|
|
source.set_listed_turf(null)
|
|
|
|
/datum/object_window_info/proc/on_mob_logout(mob/source)
|
|
SIGNAL_HANDLER
|
|
on_mob_move(parent.mob)
|
|
|
|
/datum/object_window_info/proc/turflist_changed(mob/source)
|
|
if(!parent)//statbrowser hasnt fired yet and we still have a pending action
|
|
return
|
|
SIGNAL_HANDLER
|
|
if(!(flags & TURFLIST_UPDATED)) //Limit updates to 1 per tick
|
|
SSstatpanels.immediate_send_stat_data(parent)
|
|
flags |= TURFLIST_UPDATED
|
|
else if(!(flags & TURFLIST_UPDATE_QUEUED))
|
|
flags |= TURFLIST_UPDATE_QUEUED
|
|
|
|
/// Clears any cached object window stuff
|
|
/// We use hard refs cause we'd need a signal for this anyway. Cleaner this way
|
|
/datum/object_window_info/proc/viewing_atom_deleted(atom/deleted)
|
|
SIGNAL_HANDLER
|
|
atoms_to_show -= deleted
|
|
atoms_to_imagify -= deleted
|
|
atoms_to_images -= deleted
|
|
|
|
/mob/proc/set_listed_turf(turf/new_turf)
|
|
if(!client)
|
|
return
|
|
if(!client.obj_window)
|
|
client.obj_window = new(client)
|
|
if(client.tracked_turf == new_turf)
|
|
return
|
|
if(!new_turf)
|
|
client.obj_window.stop_turf_tracking() //Needs to go before listed_turf is set to null so signals can be removed
|
|
return
|
|
client.obj_window.start_turf_tracking(new_turf)
|