mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
[NO GBP] Fixes basic mobs freezing up when in melee range of a target (#77434)
## About The Pull Request whoops missed an `!` and didn't test the code fixes #77444 fixes #77449 ## Changelog 🆑 fix: fixed basic mobs freezing up when in melee range of a target /🆑
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
if(M.status_flags & GODMODE)
|
||||
return FALSE
|
||||
|
||||
if(!ignore_sight && can_see(living_mob, the_target, vision_range)) //Target has moved behind cover and we have lost line of sight to it
|
||||
if(!ignore_sight && !can_see(living_mob, the_target, vision_range)) //Target has moved behind cover and we have lost line of sight to it
|
||||
return FALSE
|
||||
|
||||
if(living_mob.see_invisible < the_target.invisibility) //Target's invisible to us, forget it
|
||||
|
||||
Reference in New Issue
Block a user