Profiler: Fix wrong function name for entities
authorsfan5 <sfan5@live.de>
Wed, 12 Feb 2020 20:49:30 +0000 (21:49 +0100)
committersfan5 <sfan5@live.de>
Sun, 23 Feb 2020 21:24:12 +0000 (22:24 +0100)
builtin/profiler/instrumentation.lua

index 80eed05e8ac8a492e6c19a8155a9753101117c68..237f048fb3adeb13bff227a8cc755820983fe8bd 100644 (file)
@@ -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.