share/hedgewars/Data/Scripts/Params.lua
author koda
Wed, 08 Jan 2014 23:29:30 +0100
changeset 9961 c18c66d621e5
parent 9908 81eb25ddf594
child 9985 42cd42e44c9a
permissions -rw-r--r--
consistent cmake checks

-- Library for parameters handling

params = {}

function parseParams()
    for k, v in string.gmatch(ScriptParam, "(%w+)=([^,]+)") do
        params[k] = v
    end
end