mirror of https://github.com/OpenTTD/OpenTTD
parent
49c760a472
commit
2c211630cb
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue