share/hedgewars/Data/Scripts/Params.lua
author nemo
Fri, 04 Sep 2015 08:14:12 -0400
changeset 11074 722567479fab
parent 9985 42cd42e44c9a
permissions -rw-r--r--
fix a couple of typos

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