Rename LuaCsHook

This commit is contained in:
Evil Factory
2026-01-29 20:36:00 -03:00
committed by Maplewheels
parent 3b65ea9008
commit c6c0aadb00
2 changed files with 0 additions and 12 deletions

View File

@@ -786,11 +786,6 @@ namespace Barotrauma
try
{
if (luaCs.PerformanceCounter.EnablePerformanceCounter)
{
performanceMeasurement.Start();
}
var result = tuple.Item1.func(args);
if (result is DynValue luaResult)
@@ -813,13 +808,6 @@ namespace Barotrauma
{
lastResult = (T)result;
}
if (luaCs.PerformanceCounter.EnablePerformanceCounter)
{
performanceMeasurement.Stop();
//luaCs.PerformanceCounter.SetHookElapsedTicks(name, key, performanceMeasurement.ElapsedTicks); TODO
performanceMeasurement.Reset();
}
}
catch (Exception e)
{