share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <Wuzzy2@mail.ru>
Tue, 07 Aug 2018 01:52:40 +0200
changeset 13623 f66d8779e4dd
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Fix bee target practice removing target selection after first shot

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