share/hedgewars/Data/Scripts/Params.lua
author nemo
Tue, 18 Sep 2018 19:30:55 -0400
changeset 13823 a623657da787
parent 9985 42cd42e44c9a
permissions -rw-r--r--
restore old land hashes which in theory should not have changed in .24

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