share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Sat, 30 Apr 2016 21:06:46 +0200
changeset 11787 8873546a893c
parent 9985 42cd42e44c9a
permissions -rw-r--r--
update changelog

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