1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-14 10:13:13 +02:00
RedMew/features/gui/debug/command.lua
2019-01-30 22:32:43 +00:00

14 lines
278 B
Lua

local DebugView = require 'features.gui.debug.main_view'
local Command = require 'utils.command'
Command.add(
'debug',
{
debug_only = true,
description = 'Opens the debugger'
},
function(_, player)
DebugView.open_dubug(player)
end
)