mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
BattleAI: fix init env
This commit is contained in:
@@ -570,6 +570,7 @@ void AIGateway::initGameInterface(std::shared_ptr<Environment> env, std::shared_
|
||||
LOG_TRACE(logAi);
|
||||
myCb = CB;
|
||||
cbc = CB;
|
||||
this->env = env;
|
||||
|
||||
NET_EVENT_HANDLER;
|
||||
playerID = *myCb->getPlayerID();
|
||||
|
Reference in New Issue
Block a user