mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-29 01:35:06 +01:00
Change "invalid game command" messages
This commit is contained in:
@@ -48,7 +48,7 @@ GameActions::Result SignSetNameAction::Query() const
|
||||
auto banner = GetBanner(_bannerIndex);
|
||||
if (banner == nullptr)
|
||||
{
|
||||
LOG_ERROR("Invalid game command for setting sign name, banner id = %d", _bannerIndex);
|
||||
LOG_ERROR("Banner not found for bannerIndex %d", _bannerIndex);
|
||||
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_RENAME_SIGN, STR_NONE);
|
||||
}
|
||||
return GameActions::Result();
|
||||
@@ -59,7 +59,7 @@ GameActions::Result SignSetNameAction::Execute() const
|
||||
auto banner = GetBanner(_bannerIndex);
|
||||
if (banner == nullptr)
|
||||
{
|
||||
LOG_ERROR("Invalid game command for setting sign name, banner id = %d", _bannerIndex);
|
||||
LOG_ERROR("Banner not found for bannerIndex %d", _bannerIndex);
|
||||
return GameActions::Result(GameActions::Status::InvalidParameters, STR_CANT_RENAME_SIGN, STR_NONE);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user