share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Mon, 08 Dec 2014 21:57:06 +0100
changeset 10644 3b8290381fcb
parent 9985 42cd42e44c9a
permissions -rw-r--r--
make sure view limits are updated at start of game

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