share/hedgewars/Data/Scripts/Params.lua
author alfadur
Wed, 27 Mar 2019 23:26:58 +0300
changeset 14726 75ff5c643004
parent 9985 42cd42e44c9a
permissions -rw-r--r--
actually atlas tests were also broken

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