share/hedgewars/Data/Scripts/Params.lua
author Wuzzy <almikes@aol.com>
Fri, 28 Apr 2017 00:21:16 +0200
changeset 12370 92b4bab79c26
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Fix ACF Eplilogue becoming unplayble when all hogs except the traitor have died

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