Cleanups and tweaks observer code (#30250)

* observer cleanup

* this

* bit more

* Update tgui.bundle.js
This commit is contained in:
kyunkyunkyun
2025-09-05 05:54:22 +00:00
committed by GitHub
parent 8f98876b47
commit 10f2e67e65
66 changed files with 362 additions and 447 deletions
+1 -1
View File
@@ -204,7 +204,7 @@ RESTRICT_TYPE(/datum/ui_module/admin/antagonist_menu)
return
target = mind.current
var/mob/dead/observer/A = C.mob
A.ManualFollow(target)
A.manual_follow(target)
return
if(istype(target, /datum/team))
ui.user.client.holder.team_switch_tab_index = clamp(GLOB.antagonist_teams.Find(target), 1, length(GLOB.antagonist_teams))