share/hedgewars/Data/Scripts/Params.lua
author nemo
Mon, 03 Dec 2018 12:43:49 -0500
branch0.9.23
changeset 14383 bdf5840863c6
parent 9985 42cd42e44c9a
permissions -rw-r--r--
close 0.9.23

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