share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Tue, 13 Mar 2018 13:15:15 +0100
branchqt5transition
changeset 13177 85c8c149ef82
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Update .hgignore to ignore new Qt's moc_ and qrc_ files

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