share/hedgewars/Data/Scripts/Params.lua
author alfadur
Thu, 28 Mar 2019 00:33:36 +0300
changeset 14728 069291842d52
parent 9985 42cd42e44c9a
permissions -rw-r--r--
fix atlas.insert_set

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