share/hedgewars/Data/Scripts/Params.lua
author nemo
Mon, 26 Aug 2019 14:27:03 -0400
changeset 15381 c117e17b90bc
parent 9985 42cd42e44c9a
permissions -rw-r--r--
flag some of the renderstringtex which are taking up a ton of processing time with --stats-only and pas2c

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