mirror of https://github.com/OpenRCT2/OpenRCT2.git
Use ErrorTitle + ErrorMessage instead of newline
This commit is contained in:
parent
27eec48c16
commit
a17ac8a92b
|
@ -1087,10 +1087,11 @@ GameActions::Result ScriptEngine::QueryOrExecuteCustomGameAction(const CustomAct
|
|||
}
|
||||
return DukToGameActionResult(dukResult);
|
||||
}
|
||||
|
||||
|
||||
auto action = GameActions::Result();
|
||||
action.Error = GameActions::Status::Unknown;
|
||||
action.ErrorTitle = " [Unknown custom action] \n" + customAction.GetPluginName() + ": " + actionz;
|
||||
action.ErrorTitle = "Unknown custom action";
|
||||
action.ErrorMessage = customAction.GetPluginName() + ": " + actionz;
|
||||
return action;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue