share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Mon, 18 Apr 2016 22:25:56 +0200
changeset 12020 da843fffe020
parent 9985 42cd42e44c9a
permissions -rw-r--r--
HedgeEditor: Fix girder/rubber mods sometimes show nil in 2nd message

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