Streetcar track removal fails when bank balance negative #8068
Version of OpenTTD
Removing streetcar track generates income, e.g. €156.
Removing streetcar track issues error, e.g. "Not enough cash - requires -€156", when bank balance is negative, but generates income when bank balance is positive. Haven't checked bank balance equal to zero.
Steps to reproduce
Note: may be related to #7656, even though not a duplicate
The text was updated successfully, but these errors were encountered:
Thank you @James103 for that final remark ("Only occurs if current bank balance (negative) plus removal cost (positive) < 0."). Took me a while to reproduce :D I was balancing in the in-between at first, not being able to reproduce :D Bug confirmed, fix incoming :)