Skip to content

Commit

Permalink
maps/random/fert_triggers.js:fix 'GetCiv' error message
Browse files Browse the repository at this point in the history
  • Loading branch information
andy5995 committed Jul 9, 2022
1 parent a52ffe4 commit 01c225e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
2022-07-09

* random/dune.json:change biome from 'desert' to 'sahara' (fixes OOS)
* maps/random/fert_triggers.js:fix 'GetCiv' error message

2022-07-07

Expand Down
2 changes: 1 addition & 1 deletion maps/random/fert_triggers.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Trigger.prototype.SetDisableTemplates = function()
for (let i = 1; i < TriggerHelper.GetNumberOfPlayers(); ++i)
{
let cmpPlayer = QueryPlayerIDInterface(i);
cmpPlayer.SetDisabledTemplates(disabledTemplates(cmpPlayer.GetCiv()));
cmpPlayer.SetDisabledTemplates(disabledTemplates(QueryPlayerIDInterface(i, IID_Identity).GetCiv()));
}
};

Expand Down

0 comments on commit 01c225e

Please sign in to comment.