share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Thu, 04 Jun 2015 19:57:04 +0300
branch0.9.21
changeset 10773 c91811e09361
parent 9985 42cd42e44c9a
permissions -rw-r--r--
More ifdefs \o/ (fix build even more)

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