share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Fri, 25 Jul 2014 14:00:51 +0400
changeset 10366 b451b8f69f44
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Official racer map #11

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