[MIRROR] Signal Handler Preperation (#10917)

Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-05-18 22:38:29 -07:00
committed by GitHub
parent b92212f9ee
commit 68e70a00ad
24 changed files with 23 additions and 26 deletions

View File

@@ -454,9 +454,9 @@ SUBSYSTEM_DEF(statpanels)
on_mob_move(parent.mob)
/datum/object_window_info/proc/turflist_changed(mob/source)
SIGNAL_HANDLER
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