Browse Source

Profiler: Fix wrong function name for entities

sfan5 4 years ago
parent
commit
2bb7d3aa99
1 changed files with 1 additions and 1 deletions
  1. 1 1
      builtin/profiler/instrumentation.lua

+ 1 - 1
builtin/profiler/instrumentation.lua

@@ -162,7 +162,7 @@ local function init()
 			"on_activate",
 			"on_step",
 			"on_punch",
-			"rightclick",
+			"on_rightclick",
 			"get_staticdata",
 		}
 		-- Wrap register_entity() to instrument them on registration.