mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
GC go brrrr (#8232)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
ai_log("engage_target() : Entering.", AI_LOG_DEBUG)
|
||||
|
||||
// Can we still see them?
|
||||
if(!target || !can_attack(target))
|
||||
if(QDELETED(target) || !can_attack(target)) //CHOMPEdit
|
||||
ai_log("engage_target() : Lost sight of target.", AI_LOG_TRACE)
|
||||
if(lose_target()) // We lost them (returns TRUE if we found something else to do)
|
||||
ai_log("engage_target() : Pursuing other options (last seen, or a new target).", AI_LOG_TRACE)
|
||||
|
||||
Reference in New Issue
Block a user