mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 14:39:58 +01:00
Merge branch 'master' of https://github.com/tgstation/tgstation into pulls-tg-to-fix-shit
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
else if(stat)
|
||||
return UI_DISABLED
|
||||
// Update UIs if incapicitated but concious.
|
||||
else if(incapacitated())
|
||||
else if(incapacitated)
|
||||
return UI_UPDATE
|
||||
return UI_INTERACTIVE
|
||||
|
||||
|
||||
@@ -29,6 +29,10 @@ GLOBAL_DATUM_INIT(not_incapacitated_turf_state, /datum/ui_state/not_incapacitate
|
||||
/datum/ui_state/not_incapacitated_state/can_use_topic(src_object, mob/user)
|
||||
if(user.stat != CONSCIOUS)
|
||||
return UI_CLOSE
|
||||
<<<<<<< HEAD
|
||||
if(HAS_TRAIT(src, TRAIT_UI_BLOCKED) || user.incapacitated() || (turf_check && !isturf(user.loc)))
|
||||
=======
|
||||
if(HAS_TRAIT(src, TRAIT_UI_BLOCKED) || user.incapacitated || (turf_check && !isturf(user.loc)))
|
||||
>>>>>>> 4b4ae0958fe6b5d511ee6e24a5087599f61d70a3
|
||||
return UI_DISABLED
|
||||
return UI_INTERACTIVE
|
||||
|
||||
Reference in New Issue
Block a user