share/hedgewars/Data/Scripts/Params.lua
author nemo
Mon, 25 May 2015 16:53:52 -0400
changeset 10963 e061da85f32d
parent 9985 42cd42e44c9a
permissions -rw-r--r--
call setScript update if scheme changes, due to scriptparams

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