Merge pull request #9964 from VOREStation/upstream-merge-7981

[MIRROR] Minor cleanup.
This commit is contained in:
Novacat
2021-03-18 10:38:51 -04:00
committed by Chompstation Bot
parent 5c285eda7d
commit b6c28ecfb0
4 changed files with 2 additions and 10 deletions

View File

@@ -61,7 +61,7 @@ GLOBAL_DATUM_INIT(tgui_default_state, /datum/tgui_state/default, new)
return STATUS_CLOSE
/mob/living/simple_animal/default_can_use_tgui_topic(src_object)
/mob/living/simple_mob/default_can_use_tgui_topic(src_object)
. = shared_tgui_interaction(src_object)
if(. > STATUS_CLOSE)
. = min(., shared_living_tgui_distance(src_object)) //simple animals can only use things they're near.