Skip to content

Commit

Permalink
Event fix (#1761)
Browse files Browse the repository at this point in the history
  • Loading branch information
SawJester authored Nov 4, 2024
1 parent 5ca6dee commit 8ad82b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Games/core/Game.js
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ module.exports = class Game {
}

createGameEvent(eventName, eventMods) {
const eventClass = Utils.importGameClass(this.type, "Events", eventName);
const eventClass = Utils.importGameClass(this.type, "events", eventName);
const event = new eventClass(eventMods, this);
return event;
}
Expand Down

0 comments on commit 8ad82b5

Please sign in to comment.