share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Wed, 10 Dec 2014 19:44:01 +0100
changeset 10647 90062f7a3103
parent 9985 42cd42e44c9a
permissions -rw-r--r--
merge FreeTexture into FreeAndNilTexture

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