Skip to content

Commit

Permalink
Use eventGameLoaded for Cobra AI group initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
KJeff01 committed Aug 12, 2024
1 parent af7cff8 commit 7801e80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion data/mp/multiplay/skirmish/cobra_includes/events.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//This file contains generic events. Chat and research events are split into
//their own seperate files.

function eventGameInit()
function eventGameLoaded()
{
initCobraGroups();
}
Expand Down
1 change: 1 addition & 0 deletions data/mp/multiplay/skirmish/cobra_includes/miscFunctions.js
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ function initCobraVars()
{
let isHoverMap = checkIfSeaMap();

initCobraGroups();
lastMsg = "eventStartLevel";
lastMsgThrottle = 0;
currently_dead = false;
Expand Down

0 comments on commit 7801e80

Please sign in to comment.