Refactor explicit constructor usage in LargeSceneryPlaceAction

This commit is contained in:
ζeh Matt committed 2021-10-27 04:32:03 +03:00
1 parent effc6f4413
commit 4fe71f3b45
1 file changed
+2 -1
@@ -97,7 +97,8 @@ GameActions::Result::Ptr LargeSceneryPlaceAction::Query() const
if (HasReachedBannerLimit())
{
log_error("No free banners available");
return MakeResult(GameActions::Status::InvalidParameters, STR_TOO_MANY_BANNERS_IN_GAME);
return MakeResult(
GameActions::Status::InvalidParameters, STR_CANT_POSITION_THIS_HERE, STR_TOO_MANY_BANNERS_IN_GAME);
}
}