share/hedgewars/Data/Scripts/Params.lua
author unc0rr
Sat, 03 Nov 2018 00:02:03 +0100
changeset 14124 8556937ae338
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Fix typo

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