Skip to content

Commit

Permalink
fix: Default param value
Browse files Browse the repository at this point in the history
  • Loading branch information
Pazaz committed Jan 5, 2024
1 parent 76f38c4 commit c9d483c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/jagex2/client/GameShell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Draw3D from '../graphics/Draw3D.js';
import { sleep } from '../util/JsUtil.js';

export default class GameShell {
static getParameter(name: string): string | null {
static getParameter(name: string): string {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.get(name) ?? '';
}
Expand Down

0 comments on commit c9d483c

Please sign in to comment.