Added call to handleModEvent()
inside updateGlobalEvents()
to allow modders to override with their own implementation
This commit is contained in:
parent
7ae812bfe6
commit
3c3877d753
@ -380,7 +380,7 @@ export class SeasonalEventService {
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
// Likely a mod event
|
// Likely a mod event
|
||||||
this.addEventGearToBots(event.type);
|
this.handleModEvent(event);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -590,6 +590,10 @@ export class SeasonalEventService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected handleModEvent(event: ISeasonalEvent) {
|
||||||
|
this.addEventGearToBots(event.type);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Send gift to player if they'e not already received it
|
* Send gift to player if they'e not already received it
|
||||||
* @param playerId Player to send gift to
|
* @param playerId Player to send gift to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user