share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Sat, 13 Dec 2014 20:12:55 +0300
changeset 10666 c474f6261e03
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Some ru l10n updates

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