share/hedgewars/Data/Scripts/Params.lua
author antonc27 <antonc27@mail.ru>
Tue, 17 Nov 2015 16:34:20 +0100
branchios-revival
changeset 11414 e0600c5964c7
parent 9985 42cd42e44c9a
permissions -rw-r--r--
- Removed SDLTry from call to SDL_GL_SetSwapInterval Note: "blame it on me in commit message if you want x)" sheepluva

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