Skip to content

Commit

Permalink
close #517 : give AIs a unique teamID
Browse files Browse the repository at this point in the history
  • Loading branch information
gajop committed Oct 25, 2020
1 parent 3005b90 commit 39b03e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/liblobby/lobby/interface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ end
function Interface:AddAi(aiName, aiLib, allyNumber, version)
local battleStatus = {
isReady = true,
teamNumber = allyNumber,
teamNumber = self:GetUnusedTeamID(),
allyNumber = allyNumber,
playMode = true,
sync = true,
Expand Down

0 comments on commit 39b03e7

Please sign in to comment.