share/hedgewars/Data/Scripts/Params.lua
author nemo
Wed, 07 Sep 2022 16:52:45 -0400
branch1.0.0
changeset 15877 9dceb83331d5
parent 9985 42cd42e44c9a
permissions -rw-r--r--
forgot to bump the patch num

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