add more debug logging

This commit is contained in:
Starbeamrainbowlabs 2023-08-01 00:16:36 +01:00
parent 6231132055
commit 7be2fb125e
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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!