WurstScript
WurstScript copied to clipboard
Add @ifNotDefined for globals variables
E.g.:
@ifNotDefined rect udg_main_area = null
If udg_main_area
is defined somewhere else (typically in war3map.j) then the above definition is not used.
This issue came to be as per the discussion in #809. See said thread for a motivating example.