[MANUAL MIRROR] Fixes magic eyepatch spell casting (#75270) (#21069)

Fixes magic eyepatch spell casting (#75270)

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
This commit is contained in:
coldud13
2023-05-15 08:30:27 +10:00
committed by GitHub
parent d77870c7af
commit 501562e89c
+1 -1
View File
@@ -192,7 +192,7 @@
if(feedback)
to_chat(owner, span_warning("You don't feel strong enough without your robe!"))
return FALSE
if(!(human_owner.head?.clothing_flags & CASTING_CLOTHES) || (human_owner.glasses?.clothing_flags & CASTING_CLOTHES))
if(!(human_owner.head?.clothing_flags & CASTING_CLOTHES) && !(human_owner.glasses?.clothing_flags & CASTING_CLOTHES))
if(feedback)
to_chat(owner, span_warning("You don't feel strong enough without your hat!"))
return FALSE