Skip to content

Commit

Permalink
- fix menu commands with semicolon separated commands
Browse files Browse the repository at this point in the history
C_DoCommand only executes one command, to do full processing AddCommandString is needed.
  • Loading branch information
coelckers committed Jul 29, 2022
1 parent ee2c775 commit 4422f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/scripting/interface/vmnatives.cpp
Expand Up @@ -998,7 +998,7 @@ DEFINE_ACTION_FUNCTION(DOptionMenuItemCommand, DoCommand)
}

UnsafeExecutionScope scope(unsafe);
C_DoCommand(cmd);
AddCommandString(cmd);
return 0;
}

Expand Down

0 comments on commit 4422f90

Please sign in to comment.