share/hedgewars/Data/Scripts/Params.lua
author frd
Tue, 03 May 2016 01:07:26 -0400
changeset 11796 50a462b9454a
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Add pre/post js stub files and expand the emscripten options

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