share/hedgewars/Data/Scripts/Params.lua
author unC0Rr
Fri, 05 Feb 2016 11:32:23 +0300
changeset 11535 135094ab3146
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Racer maps #18 and #19

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