share/hedgewars/Data/Scripts/Params.lua
author nemo
Mon, 05 Nov 2018 14:46:35 -0500
changeset 14157 ded06cf5645a
parent 9985 42cd42e44c9a
permissions -rw-r--r--
wtf

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