share/hedgewars/Data/Scripts/Params.lua
author sheepluva
Mon, 09 Nov 2015 19:21:40 +0100
changeset 11342 aa3f886c6298
parent 9985 42cd42e44c9a
permissions -rw-r--r--
fix hedgehog on parachute facing in wrong direction if parachute opens during double-jump

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