share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Sun, 20 Nov 2016 01:31:09 +0100
changeset 11962 209a66df2340
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Add more descriptions into desktop entry files, fix some specification mismatches

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