mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 03:23:15 +01:00
Use ErrorTitle + ErrorMessage instead of newline
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user