mirror of
https://github.com/devZoGok/PlanetFleet.git
synced 2026-08-26 19:43:29 +00:00
improved syncing of players between C++ and Lua
This commit is contained in:
@@ -49,7 +49,7 @@ namespace battleship{
|
||||
inline bool isCpuPlayer(){return cpuPlayer;}
|
||||
private:
|
||||
bool cpuPlayer = false;
|
||||
int refineds = 0, wealth = 0, research = 0, faction, difficulty, team;
|
||||
int refineds = 0, wealth = 0, research = 0, faction, difficulty, team, luaPlayerId;
|
||||
std::vector<Unit*> units;
|
||||
std::vector<Projectile*> projectiles;
|
||||
std::vector<ResourceDeposit*> resourceDeposits;
|
||||
|
||||
Reference in New Issue
Block a user