Fixes the simple vars list parsing.
Merge pull request #1858 from Menshin/maploader_fix

Maploader fix