mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-31 09:08:30 +01:00
Hostile mobs will properly lose targets that leave for other zlevels (#19751)
This commit is contained in:
@@ -206,6 +206,9 @@
|
||||
LoseTarget()
|
||||
return 0
|
||||
if(target in possible_targets)
|
||||
if(target.z != z)
|
||||
LoseTarget()
|
||||
return 0
|
||||
var/target_distance = get_dist(targets_from,target)
|
||||
var/target_adjacent = target.Adjacent(targets_from)
|
||||
if(ranged) //We ranged? Shoot at em
|
||||
|
||||
Reference in New Issue
Block a user