Adding the DebugConsole to the example module

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
yufra
Perspiring Physicist
Posts: 1332
Joined: Tue Jul 13, 2010 2:53 pm

Adding the DebugConsole to the example module

#1 Post by yufra »

The sole purpose (IMO) of the example module is to serve as a template for module developers. For this reason I think it would be beneficial for the DebugConsole to be supported by default in the example module. The following code in the Game.lua should do the trick since the module is already loaded:

Code: Select all

		-- Lua console
		LUA_CONSOLE = function()
			self:registerDialog(DebugConsole.new())
		end,
<DarkGod> lets say it's intended

Post Reply