share/hedgewars/Data/Scripts/Params.lua
author nemo
Tue, 05 Dec 2017 11:36:29 -0500
changeset 12851 4ffab41560c5
parent 9985 42cd42e44c9a
permissions -rw-r--r--
bump proto

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