share/hedgewars/Data/Scripts/Params.lua
author unC0Rr
Fri, 25 Mar 2016 15:40:44 +0300
changeset 11616 5b31f61e0723
parent 9985 42cd42e44c9a
permissions -rw-r--r--
racer map #20

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