Allow mobs to ctrl click mobs while resting (#84587)

## About The Pull Request
- Fixes #84471

Of course, you still can't grab a mob while lying down. That and other
grab/pull related functions when resting are unchanged

## Changelog
🆑
fix: you can hold your wound while resting via ctrl click
/🆑
This commit is contained in:
SyncIt21
2024-07-03 22:43:21 +02:00
committed by GitHub
parent 925dc67f5f
commit d32d75273d
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
SHOULD_NOT_OVERRIDE(TRUE)
. = ..()
if(. || world.time < next_move || !can_perform_action(target, NOT_INSIDE_TARGET | SILENT_ADJACENCY | FORBID_TELEKINESIS_REACH))
if(. || world.time < next_move || !can_perform_action(target, NOT_INSIDE_TARGET | SILENT_ADJACENCY | ALLOW_RESTING | FORBID_TELEKINESIS_REACH))
return
. = TRUE