share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Fri, 23 May 2014 13:37:34 +0400
changeset 10247 7c6b265b89d1
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Official racer challenge map #8

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