Skip to content

Commit

Permalink
fix(scripting/properties/PlayerInterface): use show/hide instead of o…
Browse files Browse the repository at this point in the history
…n/off in toString()
  • Loading branch information
meszaros-lajos-gyorgy committed Oct 7, 2023
1 parent e70ff6d commit 15908a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripting/properties/PlayerInterface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class PlayerInterface extends ScriptProperty<boolean> {
}

toString() {
return `playerinterface ${this.isSliding === true ? '-s' : ''} ${this.value === true ? 'on' : 'off'}`
return `playerinterface ${this.isSliding === true ? '-s' : ''} ${this.value === true ? 'show' : 'hide'}`
}

static get on() {
Expand Down

0 comments on commit 15908a8

Please sign in to comment.