share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Tue, 18 Apr 2017 22:07:16 +0200
changeset 12285 ebd4f8a24d6a
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Update some music credits, fix Beach theme credits

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