Closed Ansible2 closed 1 year ago
KISKA_fnc_assignUnitLoadout
's loop seems to be causing some of this.
There are certain loadouts where just one bullet count can be off on a gun (round isn't chambered) which when the loadout is applied, there is no round put into the guns chamber causing the loadout arrays to not strictly match.
Therefore the loop is just infinitely comparing the unit's new loadout to the one it wants to set, constantly doing so.