share/hedgewars/Data/Scripts/Params.lua
author wuzzy
Tue, 14 Jul 2015 01:56:47 +0200
changeset 11009 5b37f240edf8
parent 9985 42cd42e44c9a
permissions -rw-r--r--
update for "that sinking feeling"

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