share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Tue, 28 May 2019 17:04:48 +0200
changeset 15072 4c40266fae97
parent 9985 42cd42e44c9a
permissions -rw-r--r--
ACF9: Correct the contents of the code comments

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