Conversation
|
👍 |
Old code was doing this, as far as I know we still need the call compile to convert the string into a bool. |
It does not work when you compile a whole expression like here. |
|
OK I think I need a better explanation of what those lines are doing, because I am confused as hell... what is |
|
@NouberNou @ViperMaul into a boolean for the Tested with a dependency of |
| missionNamespace setVariable ["_dependencyIsPresent", _dependencyInfo select 2]; | ||
| private _dependencyIsPresent = call compile format ["%1", (_dependencyInfo select 2)]; | ||
| if ((isNil "_dependencyIsPresent") || {!(_dependencyIsPresent isEqualType false)}) then { | ||
| //https://dev.withsix.com/issues/74516 - The code could return non-bool, if "true" is converted to "1" durring binerization |
Fix versioning system
setVariabledoesn't seem to work on local variables.