share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Wed, 11 Oct 2017 01:03:30 +0200
changeset 12687 ebb32d3021a5
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Fix cursor still being visible after using piano strike

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