Fixes mindflayers sometimes being spammed with messages when pacified (#30686)

* fixes the message popping up when using action buttons

* Secret second bug that the first bug uncovered, fixes no messages at all
This commit is contained in:
BiancaWilkson
2025-10-16 19:19:20 +00:00
committed by GitHub
parent 1abb121eb7
commit 08b8714dc9
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -44,7 +44,7 @@
var/datum/spell/spell = target
if(owner)
return spell.can_cast(owner, show_message)
return spell.can_cast(owner, TRUE, show_message)
return FALSE
/datum/action/spell_action/apply_unavailable_effect(atom/movable/screen/movable/action_button/button)