share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Wed, 13 Aug 2014 15:16:33 +0200
changeset 10382 a5752075f897
parent 9985 42cd42e44c9a
permissions -rw-r--r--
this should fix the cmake 3.0 issue. thanks to Spacey for reporting

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