Fix #9877: GS could trigger 'Cost: 0' cost message (#9878)

This commit is contained in:
Charles Pigott
2022-05-05 19:51:56 +01:00
committed by GitHub
parent 142321da79
commit 146827c458
4 changed files with 7 additions and 4 deletions

View File

@@ -1060,7 +1060,7 @@ void CallVehicleTicks()
if (!IsLocalCompany()) continue;
if (res.Succeeded() && res.GetCost() != 0) {
if (res.Succeeded()) {
ShowCostOrIncomeAnimation(x, y, z, res.GetCost());
continue;
}