Skip to content

Commit

Permalink
Use eventGameLoaded for Cobra AI group initialization
Browse files Browse the repository at this point in the history
Uses the `eventGameLoaded` event in place of `eventGameInit` (we don't need to double init groups at the start of a fresh non-saveloaded match).
  • Loading branch information
KJeff01 committed Aug 12, 2024
1 parent 5cde21c commit bf904dc
Showing 1 changed file with 1 addition 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

0 comments on commit bf904dc

Please sign in to comment.