TGUI fixes, part 3 (#16560)

* a

* TGUI fixes part 3

* ugh

* bwuh

* ambiguous my ass

* AOAOAOAO

* pt 4

* extra foolproof

* a

* ok good thing i caught that

* enable that for AI

---------

Co-authored-by: Matt Atlas <liermattia@gmail.com>
Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
Matt Atlas
2023-06-27 23:33:21 +02:00
committed by GitHub
parent 06f8ced03b
commit e237808ea9
25 changed files with 259 additions and 178 deletions

View File

@@ -46,7 +46,7 @@
our_ui = null
/datum/late_choices/proc/update_character_icon()
if(our_ui.status < UI_INTERACTIVE)
if(our_ui && our_ui.status < UI_INTERACTIVE)
do_update_character_icon()
else
update_icon_on_next_open = TRUE