share/hedgewars/Data/Scripts/Params.lua
author antonc27 <antonc27@mail.ru>
Fri, 30 Oct 2015 21:06:03 +0100
branchios-revival
changeset 11263 4a660bbc5f35
parent 9985 42cd42e44c9a
permissions -rw-r--r--
- Fix for not compiling Pascal sources when archiving app for AppStore

-- Library for parameters handling

params = {}

function parseParams()
    if ScriptParam ~= nil then
        for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do
            params[k] = v
        end
    end
end