share/hedgewars/Data/Scripts/Params.lua
author unC0Rr
Tue, 14 Apr 2015 11:18:14 +0300
branch0.9.22
changeset 12399 bcdffa237f14
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Racer challenge map #17

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