Skip to content

Commit

Permalink
fix(action): wave should not default to waveback=true
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Jun 21, 2023
1 parent 6745534 commit c187f57
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion server/src/modules/player/gameplay.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,11 @@ export class GameplayService {
return playerPatches;
}

async waveToPlayer(userId: string, targetUserId: string, isWaveBack = true) {
async waveToPlayer(
userId: string,
targetUserId: string,
isWaveBack: boolean,
) {
const player = await this.playerService.getPlayerForUser(userId);
if (!player) throw new ForbiddenException('Player not found');

Expand Down

0 comments on commit c187f57

Please sign in to comment.