share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Mon, 18 May 2015 00:20:09 +0300
branchqmlfrontend
changeset 10949 6a1f5f452460
parent 9985 42cd42e44c9a
permissions -rw-r--r--
merge default

-- 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