Re: [WIP] Life in the Frontier OXP
Posted: Mon Jul 24, 2023 4:09 am
Small bug fix:
In "LifeInTheFrontier.js" file, in the "this.$loadOXPFlags" function, the following code is incorrect:
It should be
In "LifeInTheFrontier.js" file, in the "this.$loadOXPFlags" function, the following code is incorrect:
Code: Select all
if (vartype = "S") {
this.LITF_flags[varname] = OXPFlagsItem[1];
} else if (vartype = "N") {
this.LITF_flags[varname] = parseInt(OXPFlagsItem[1]);
}
Code: Select all
if (vartype == "S") {
this.LITF_flags[varname] = OXPFlagsItem[1];
} else if (vartype == "N") {
this.LITF_flags[varname] = parseInt(OXPFlagsItem[1]);
}