Browse Source

chore: fixed eslint issue

tags/v0.10.6^2
Shaun 2 years ago
parent
commit
5f950db563
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/server/events/phases/phaseGiveRewards.js

+ 2
- 2
src/server/events/phases/phaseGiveRewards.js View File

@@ -1,6 +1,6 @@
module.exports = {
init: function (event) {
const { config, rewards, eventManager } = event;
const { config, rewards, eventManager: eManager } = event;

const { name: eventName, rewardSenderName } = config;

@@ -26,7 +26,7 @@ module.exports = {
});

if ((config.events) && (config.events.afterGiveRewards))
config.events.afterGiveRewards(eventManager, config);
config.events.afterGiveRewards(eManager, config);

this.end = true;
}


Loading…
Cancel
Save