share/hedgewars/Data/Scripts/Params.lua
author KoBeWi
Sun, 12 Nov 2017 21:40:33 +0100
changeset 12837 b443395c36ca
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Finalize translation of pl.lua

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