Fixes a crash that would occur after using the Weapon HUD Editor in the Debug Menu and clicking the "Apply" button.
The issue here was a single non-declared variable. This is why you use a linter. PLEASE use a linter.
You're welcome, it was a 5 minute job (3 minutes making the preview picture). :^)
Does this mean we can actually use the hud editor to change the weapon positions now instead of editing the text files? :)
I think you'll still have to edit the text files, but maybe I'm just too stupid to use the HUD editor. Well, everything that the editor can do works now!
Excellent mod, it worked perfectly the first time I ran it and edited a few weapons. Including updating the weapons ltx file when I pressed apply.
However on subsequent uses the apply button fails to work, it does not crash but fails to write the changes to the weapon ltx file and I have to write down the changes, and input them manually.
Huh, that seems to be another bug then. I'm 100% certain this fix didn't introduce it, and it was there before. I can take a look if I can fix that too, but no promises (the code is kind of a mess).
there's a similar bug with the weather editor. the way i workaround this is, to hit copy > paste the settings, before saving. can't test this atm., but maybe it will work.
What a pity that sometimes SAVE button doesn't working...
Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.
11 votes submitted.
[1.5.1] HUD Weapon Editor Crash Fix has not been tagged yet.