It is possible to delete variable containing final code by assigning nil to it, then create new variable with the same name, hence overwriting the content.
Description
Description
Details
Details
- Legacy ID
- 2110507388
- Severity
- Major
- Resolution
- Fixed
- Reproducibility
- Always
- Category
- Engine
Steps To Reproduce
uiNamespace setVariable ["bis_fnc_spawn", 42];
hint str (uiNamespace getVariable "bis_fnc_spawn");
result a bunch of code, because "bis_fnc_spawn" is compiled final.
uiNamespace setVariable ["bis_fnc_spawn", nil];
uiNamespace setVariable ["bis_fnc_spawn", 42];
hint str (uiNamespace getVariable "bis_fnc_spawn");
success, result is 42