share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Fri, 05 Oct 2018 21:09:27 +0200
changeset 13859 885ee14fe640
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Fix previous patch, add support for High(Longword)

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