share/hedgewars/Data/Scripts/Params.lua
author nemo
Mon, 13 May 2019 14:19:45 -0400
changeset 14925 d2f5b6b01846
parent 9985 42cd42e44c9a
permissions -rw-r--r--
just to get it to build

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