Misc. AI fixes for CM test (#1165)
* Dumped ranged behaviors * Fixed some 1-liners (open storage, distancecon todo) Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
@@ -31,6 +31,12 @@ namespace Content.Server.AI.Utility.Considerations.Containers
|
||||
return 0.0f;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// If we're in a container (e.g. held or whatever) then we probably can't get it. Only exception
|
||||
// Is a locker / crate
|
||||
return 0.0f;
|
||||
}
|
||||
}
|
||||
|
||||
return 1.0f;
|
||||
|
||||
Reference in New Issue
Block a user