Skip to content

Commit

Permalink
Add undefined check to Password handling
Browse files Browse the repository at this point in the history
  • Loading branch information
paulov-t committed Feb 5, 2024
1 parent c484cd3 commit 3895619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StayInTarkovMod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ export class StayInTarkovMod implements IPreAkiLoadMod, IPostDBLoadMod
return output;
}

if (coopMatch.Password !== "") {
if (coopMatch.Password !== undefined && coopMatch.Password !== "") {
if(info.password == "")
{
output = JSON.stringify(
Expand Down

0 comments on commit 3895619

Please sign in to comment.