share/hedgewars/Data/Scripts/Params.lua
author nemo
Sat, 31 Jan 2015 23:14:12 -0500
changeset 10812 38dc8445d7a7
parent 9985 42cd42e44c9a
permissions -rw-r--r--
fix typo

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