share/hedgewars/Data/Scripts/Params.lua
author Igor Paliychuk
Thu, 08 Nov 2018 22:00:43 +0100
changeset 14182 a4dd3d307115
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Update Ukrainian localization

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