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

This commit is contained in:
bananarama92 2025-04-09 17:57:16 +02:00
parent 31559b297b
commit ee7a443a03
No known key found for this signature in database
GPG key ID: E83C7D3B5DA36248

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);
}