1
0
Fork 0

Fix #13759: Really don't set error owner to OWNER_TOWN.

pull/13761/head
Peter Nelson 2025-03-07 22:50:46 +00:00
parent 49c760a472
commit 276933f8c8
No known key found for this signature in database
GPG Key ID: 8EF8F0A467DF75ED
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ CommandCost CheckOwnership(Owner owner, TileIndex tile)
if (IsLocalCompany()) {
auto params = GetParamsForOwnedBy(owner, tile);
error.SetEncodedMessage(GetEncodedStringWithArgs(STR_ERROR_OWNED_BY, params));
error.SetErrorOwner(owner);
if (owner != OWNER_TOWN) error.SetErrorOwner(owner);
}
return error;
}