share/hedgewars/Data/Scripts/Params.lua
author antonc27 <antonc27@mail.ru>
Tue, 03 Nov 2015 04:49:50 +0100
branchios-revival
changeset 11279 9e0fe32aff59
parent 9985 42cd42e44c9a
permissions -rw-r--r--
- Implement fake 'Normal' game style as in qt front-end

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