[MIRROR] Makes PDA flashlight action button update when its flashlight toggles [MDB IGNORE] (#13067)

* Makes flashlight action button update when flashlight toggles (#66434)

* Makes PDA flashlight action button update when its flashlight toggles

Co-authored-by: Tastyfish <crazychris32@gmail.com>
This commit is contained in:
SkyratBot
2022-04-24 20:38:47 +02:00
committed by GitHub
parent 04acd22860
commit e50bf125f9
@@ -564,6 +564,8 @@ GLOBAL_LIST_EMPTY(TabletMessengers) // a list of all active messengers, similar
else
set_light(0)
update_appearance()
if(light_butt)
update_action_buttons(force = TRUE) // must force if just the overlays changed.
return TRUE
/**