share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Tue, 30 Apr 2019 15:29:44 +0200
changeset 14879 13589d529899
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Force-enable NOVIDEOREC when building PAS2C due to bug #722

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