mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Added Redmew Debugger and Debugged Checkboxs
This commit is contained in:
7
modules/commands/debug.lua
Normal file
7
modules/commands/debug.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
local DebugView = require 'modules.gui.debug.main_view'
|
||||
local Commands = require 'expcore.commands'
|
||||
|
||||
Commands.new_command('debug','Opens the debug pannel for viewing tables.')
|
||||
:register(function(player,raw)
|
||||
DebugView.open_dubug(player)
|
||||
end)
|
||||
@@ -96,5 +96,6 @@ add_interface_callback('tile',function(player) return player.surface.get_tile(pl
|
||||
return {
|
||||
add_interface_callback=add_interface_callback,
|
||||
interface_env=interface_env,
|
||||
interface_callbacks=interface_callbacks
|
||||
interface_callbacks=interface_callbacks,
|
||||
clean_stack_trace=function(str) return str:gsub('%.%.%..-/temp/currently%-playing','') end
|
||||
}
|
||||
Reference in New Issue
Block a user