mirror of
https://github.com/sbrl/Minetest-WorldEditAdditions.git
synced 2024-11-21 23:13: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)
|
anchor.set_number(self.object, self.display_number)
|
||||||
end,
|
end,
|
||||||
on_punch = function(self, _)
|
on_punch = function(self, _)
|
||||||
|
print("DEBUG:pos_marker on_punch")
|
||||||
anchor.delete(self)
|
anchor.delete(self)
|
||||||
end,
|
end,
|
||||||
on_blast = function(self, damage)
|
on_blast = function(self, damage)
|
||||||
|
|
|
@ -53,6 +53,7 @@ local WEAPositionMarkerWall = {
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
on_punch = function(self, _)
|
on_punch = function(self, _)
|
||||||
|
print("DEBUG:pos_marker_wall on_punch")
|
||||||
anchor.delete(self)
|
anchor.delete(self)
|
||||||
-- Only unmark the rest of the walls
|
-- Only unmark the rest of the walls
|
||||||
-- Unmark for the player that created this wall.... NOT the player who punched it!
|
-- Unmark for the player that created this wall.... NOT the player who punched it!
|
||||||
|
|
Loading…
Reference in a new issue