share/hedgewars/Data/Scripts/Params.lua
author alfadur
Thu, 04 Oct 2018 13:26:48 -0400
changeset 13841 ff468792298a
parent 9985 42cd42e44c9a
permissions -rw-r--r--
merge

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