We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b613a4f commit bf6563fCopy full SHA for bf6563f
src/gameserver/event-handler/crime-log-created.handler.ts
@@ -87,11 +87,11 @@ export class CrimeLogCreatedHandler
87
if (!thisCrime) return;
88
89
// We don't punish for crimes in bots
90
- if (thisCrime.lobby_type === MatchmakingMode.BOTS) {
+ if (thisCrime.lobby_type === MatchmakingMode.BOTS || thisCrime.lobby_type === MatchmakingMode.LOBBY) {
91
thisCrime.handled = true;
92
thisCrime.banTime = 0;
93
await this.playerCrimeLogEntityRepository.save(thisCrime);
94
- this.logger.verbose("Don't punish for crime in bot match", {
+ this.logger.verbose("Don't punish for crime in bot/lobby match", {
95
steam_id: thisCrime.steam_id,
96
id: thisCrime.id,
97
crime: thisCrime.crime,
0 commit comments