share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Thu, 10 Sep 2015 18:22:52 +0200
changeset 11151 5c40c65b619d
parent 9985 42cd42e44c9a
permissions -rw-r--r--
merge branch ios-revival into 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