share/hedgewars/Data/Scripts/Params.lua
author nemo
Mon, 12 Sep 2022 18:36:39 -0400
branch1.0.0
changeset 15890 39051294d1fb
parent 9985 42cd42e44c9a
permissions -rw-r--r--
I keep forgetting to bump the patch version

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