Files
VOREStation/code/modules/nifsoft
Runa Dacino dd1f9c6ddb fix(nif_tgui): Fixes TGUI interact on ghosts
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.
2023-09-12 14:06:28 +02:00
..
2023-08-11 02:10:38 -04:00