share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Fri, 07 Apr 2017 02:26:12 +0200
changeset 12181 c6984784c9fb
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Harden the countdown sound check

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