share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Sat, 10 Feb 2018 23:13:23 +0100
changeset 12967 e32fff07b8d7
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Racer: Make waypoints dark in bright themes like Bath

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