share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Wed, 18 Jul 2018 01:35:59 +0200
changeset 13506 36f3f77e9b1b
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Switch from http:// to https:// URLs where possible

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