mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
collecting Lua script garbage
updated vb01
This commit is contained in:
Vendored
+1
-1
Submodule external/vb01 updated: 7ef858737c...7f8b6fe03a
@@ -49,6 +49,7 @@ namespace battleship{
|
||||
for(int i = 0; i < getCpuPlayers().size(); i++) {
|
||||
string plStr = "game.cpuPlayers[" + to_string(i + 1) + "]";
|
||||
SOL_LUA_VIEW.script("executeBtNode(" + plStr + ", " + plStr + ".behaviour)");
|
||||
SOL_LUA_VIEW.collect_garbage();
|
||||
}
|
||||
|
||||
int numPlayersWithUnits = 0;
|
||||
|
||||
Reference in New Issue
Block a user