tiwaz1994 / DynamicBulwarks

Fork with improvements for Dynamic Bulwark.
2 stars 1 forks source link

If you play with 1 or 0 vehicles, getVehicleCosts crashes #27

Closed ChronosWS closed 4 years ago

ChronosWS commented 4 years ago

There is a divide by zero bug in hostiles_fnc_getVehicleCosts which does not take into account an empty or single vehicle available due to faction or other restrictions.