share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Mon, 18 Apr 2016 22:12:50 +0200
changeset 12019 67b18844e3bb
parent 9985 42cd42e44c9a
permissions -rw-r--r--
HedgeEditor: Minor string corrections

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