Merge branch 'dialog' into 'master'

BUG: Only show the dialog self menu when the current character is the player

See merge request 
This commit is contained in:
Rama 2025-04-09 15:57:53 +00:00
commit 4e6883d80a

View file

@ -5472,7 +5472,9 @@ function DialogLoad() {
C._CurrentDialog = newDialog;
}
DialogSelfMenuMapping.Expression.Init({ C: Player });
if (C.IsPlayer()) {
DialogSelfMenuMapping.Expression.Init({ C });
}
DialogChangeMode(DialogMenuMode ?? "dialog", true);
}