mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-12-22 11:45:00 +00:00
add more debug logging
This commit is contained in:
parent
6231132055
commit
7be2fb125e
2 changed files with 2 additions and 0 deletions
|
@ -54,6 +54,7 @@ local WEAPositionMarker = {
|
|||
anchor.set_number(self.object, self.display_number)
|
||||
end,
|
||||
on_punch = function(self, _)
|
||||
print("DEBUG:pos_marker on_punch")
|
||||
anchor.delete(self)
|
||||
end,
|
||||
on_blast = function(self, damage)
|
||||
|
|
|
@ -53,6 +53,7 @@ local WEAPositionMarkerWall = {
|
|||
})
|
||||
end,
|
||||
on_punch = function(self, _)
|
||||
print("DEBUG:pos_marker_wall on_punch")
|
||||
anchor.delete(self)
|
||||
-- Only unmark the rest of the walls
|
||||
-- Unmark for the player that created this wall.... NOT the player who punched it!
|
||||
|
|
Loading…
Reference in a new issue