Skip to content

Commit 7c2a55c

Browse files
committed
Workaround to give BrowncoatBoss.lua the same lua state as the ai
1 parent 0ee3ff0 commit 7c2a55c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Data/Browncoats.rte/Actors/Infantry/BrowncoatBoss/BrowncoatBoss.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
--[[MULTITHREAD]]--
2+
13
require("Actors/Infantry/BrowncoatBoss/BrowncoatBossFunctions");
24
dofile("Base.rte/Constants.lua")
35

@@ -159,6 +161,7 @@ function Update(self)
159161
end
160162
end
161163
else
164+
-- This is really bad, we should be communicating with messages or something
162165
if self.AI.flying == true and self.isInAir == false then
163166
self.isInAir = true;
164167
elseif self.AI.flying == false and self.isInAir == true then

0 commit comments

Comments
 (0)