share/hedgewars/Data/Scripts/Params.lua
author antonc27 <antonc27@mail.ru>
Sun, 15 Nov 2015 14:40:51 +0100
branchios-revival
changeset 11392 7038ecc1f7fa
parent 9985 42cd42e44c9a
permissions -rw-r--r--
Added tag Hedgewars-iOS-2.0 for changeset a0163b8302c5

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