Skip to content

Commit dd6e290

Browse files
committed
Merge branch 'develop' into feature/action-queue
2 parents 7ff0593 + c1c07af commit dd6e290

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game-engine/world/actor/player/player.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ export class Player extends Actor {
598598

599599
let showDialogue = false;
600600
let showInConsole = false;
601-
if(typeof options === 'boolean') {
601+
if(options && typeof options === 'boolean') {
602602
showDialogue = true;
603603
} else if(options) {
604604
showDialogue = options.dialogue || false;

0 commit comments

Comments
 (0)