Advanced-Tiled-Loader icon indicating copy to clipboard operation
Advanced-Tiled-Loader copied to clipboard

Leaking variables

Open SuperIzzo opened this issue 12 years ago • 1 comments

Hi, I run ATL under strict and it showed that a few variables are being accidentally defined in the global namespace.

Here are the 3 I got so far:

Error: lib/atl/TileLayer.lua:381: assign to undeclared variable 'str' Error: lib/atl/Map.lua:248: assign to undeclared variable 'heightOffset' Error: lib/atl/TileLayer.lua:151: assign to undeclared variable 'rot'

It also reports TILED_LOADER_PATH, but I'm not sure there is a way to avoid that

SuperIzzo avatar Feb 13 '13 18:02 SuperIzzo

Thanks, I'll look into this.

Kadoba avatar Feb 13 '13 22:02 Kadoba