mirror of
https://github.com/Insality/druid
synced 2025-09-27 10:02:19 +02:00
- new log function for debug
- clear metatable for the factory
This commit is contained in:
@@ -6,6 +6,8 @@ local lang = {
|
||||
}
|
||||
|
||||
local function setup_druid(self)
|
||||
druid_settings.is_debug = true
|
||||
|
||||
druid_settings.play_sound = function(name)
|
||||
sound.play("sounds#" .. name)
|
||||
end
|
||||
@@ -19,7 +21,6 @@ function init(self)
|
||||
setup_druid(self)
|
||||
self.druid = druid.new(self)
|
||||
|
||||
|
||||
self.druid:new_button("button_1", function()
|
||||
print("On button 1")
|
||||
end)
|
||||
|
Reference in New Issue
Block a user