share/hedgewars/Data/Scripts/Params.lua
author koda
Tue, 02 Jun 2015 17:57:15 +0100
changeset 10974 0f9fc5923be4
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Fix libsdl bundling on OSX when library rather than framework is used

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