mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-01 08:31:14 +00:00
- fixed: The player menu was not able to set the new name because the security check did not account for the text enter menu being present.
This commit is contained in:
parent
9d1031f0ba
commit
356144a537
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ DEFINE_ACTION_FUNCTION(DPlayerMenu, PlayerNameChanged)
|
|||
const char *pp = s;
|
||||
FString command("name \"");
|
||||
|
||||
if (self == CurrentMenu)
|
||||
if (self == CurrentMenu || self == CurrentMenu->mParentMenu)
|
||||
{
|
||||
// Escape any backslashes or quotation marks before sending the name to the console.
|
||||
for (auto p = pp; *p != '\0'; ++p)
|
||||
|
|
Loading…
Reference in a new issue