mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-04-09 13:31:05 +01:00
Normally, TGUI is fine to be observed by ghosts - thus attack_ghost() calls it on left click in addition to examining. Unfortunately, NIFs require ishuman() vars to be accessed, causing runtime errors. Unfortunately x2, the way TGUI is set-up, observers override tgui_state checks that would enforce ishuman() state checks. Therefore, we must modify tgui_interact to reject attempts to call the interface for non-human mobs.