Skip to content

Commit

Permalink
Fix OpAI children check
Browse files Browse the repository at this point in the history
  • Loading branch information
speed2CZ authored and aeoncleanse committed Jun 19, 2017
1 parent 4ab76e0 commit adb01a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/AI/OpAI/BaseOpAI.lua
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ OpAI = Class {

-- All keeptable children must be found to be kept as well.
if found then
found = false
for num,name in keepTable do
found = false
for cNun,cName in v.ChildrenType do
-- child name found; move to the next
if cName == name then
Expand Down

0 comments on commit adb01a6

Please sign in to comment.