share/hedgewars/Data/Scripts/Params.lua
author unC0Rr
Fri, 14 Nov 2014 17:00:47 +0300
changeset 10494 0eb97cf4c78e
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Fix warnings given by 32-bit fpc

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