share/hedgewars/Data/Scripts/Params.lua
author jpr
Fri, 27 Jan 2023 06:22:22 +0300
changeset 15941 5289ab63853d
parent 9985 42cd42e44c9a
permissions -rw-r--r--
fix typo

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