-
-
Notifications
You must be signed in to change notification settings - Fork 322
Description
Bug report
Basic Information
Mission version:
v0.96.8
Map used:
Any
Mods used:
N/A
Dedicated or local game:
N/A
Source of the mission file (URL):
Individual Things
Did you edit anything within the mission files?
No
If yes, what did you edit exactly?
Short Issue Description
All the presets in _presets.json are ignored when building because the variable names in the file
don't match those in the KPLIB_config.sqf template, so the gulpfile replaces nothing during build, meaning all
preset values end up being zero like in the template.
Expected Behaviour
Values in _presets.json take effect in built missions
Steps to Reproduce the Issue
Build the v0.96.8 branch and check build\kp_liberation.*\KPLIB_config.sqf
Screenshots, Serverlog or any other helpful Information
I haven't gotten around to clone the repo on github yet for my own private branches, but here's
a patch to demonstrate the error and the fix. Thanks for continuing work on Liberation, cheers!
0001-presets.json-Fix-variable-name-mismatch-with-KPLIB.patch