| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
moving the clearWeaponCargoGlobal _vehicle; to the top and using exitWith instead of then (or a switch) would actually be the best solution considering performance |
Sorry, something went wrong.
Like this?
| _vehicle removeMagazinesTurret ["2000Rnd_65x39_Belt_Tracer_Red",[1]]; | ||
| _vehicle removeMagazinesTurret ["2000Rnd_65x39_Belt_Tracer_Red",[2]]; | ||
| }; | ||
| private ["_vehicle","_veh"]; |
There was a problem hiding this comment.
We've managed to duplicate these 3 lines twice. It'd be best to remove the BIS_fnc_param and the private ARRAY and replace with params (obviously removing the duplication).
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Changes proposed in this pull request:
Changed If to switch
I have tested my changes and corrected any errors found
It's just a little thing but it needs to be done.