Skip to content

Commit

Permalink
Formatting Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
CriticalFloof committed Dec 3, 2023
1 parent de046ea commit 704b06e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/omegga/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ class Player implements OmeggaPlayer {
{ first: 'index', timeoutDelay: 500 }
);

if(pawn === "None") return;
if (pawn === 'None') return;

return pawn;
}
Expand All @@ -381,14 +381,13 @@ class Player implements OmeggaPlayer {
{
groups: { pawn },
},
// pawnRegExp
] = await omegga.watchLogChunk<RegExpMatchArray>(
'GetAll BP_PlayerController_C Pawn Name=' + this.controller,
pawnRegExp,
{ first: 'index', timeoutDelay: 100 }
);

if(pawn === "None") return;
if (pawn === 'None') return;

// given a player's pawn, match the player's position
const posRegExp = new RegExp(
Expand Down

0 comments on commit 704b06e

Please sign in to comment.