瀏覽代碼

Profiler: Fix wrong function name for entities

sfan5 4 年之前
父節點
當前提交
2bb7d3aa99
共有 1 個文件被更改,包括 1 次插入1 次删除
  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.