Skip to content

Commit

Permalink
fix(rcon/setcrypto): manualsetcrypto rcon command should now work
Browse files Browse the repository at this point in the history
  • Loading branch information
LiamDormon committed Sep 7, 2022
1 parent 0c33675 commit c3d2115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ RegisterCommand("manualsetcrypto", async (source: number, args: string[]) => {
const [valueRaw] = args;
const value = parseInt(valueRaw)

if (!isNaN(value)) {
if (isNaN(value)) {
return console.log("[npwd_crypto]: Invalid crypto price")
}

Expand Down

0 comments on commit c3d2115

Please sign in to comment.