mirror of
https://github.com/rmroc451/TweaksAndThings.git
synced 2025-12-16 01:09:38 -06:00
fixes #69; track loading wasn't fully topping off.
This commit is contained in:
@@ -98,6 +98,7 @@ internal class OpsController_AnnounceCoalescedPayments_Patch
|
||||
var data = car.QuantityCapacityOfLoad(CrewHoursLoad());
|
||||
if ((data.quantity + quantityToLoad > data.capacity) && data.quantity < data.capacity)
|
||||
{
|
||||
quantityToLoad = data.capacity; //ensure topping off
|
||||
Multiplayer.Broadcast($"{Hyperlink.To(car)}: \"Caboose crew topped off.\"");
|
||||
CrewCarDict[car.id] = (CrewCarDict[car.id].spotted, false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user