diff --git a/OpenDreamRuntime/DreamThread.cs b/OpenDreamRuntime/DreamThread.cs index aa0558018e..66ba5f5454 100644 --- a/OpenDreamRuntime/DreamThread.cs +++ b/OpenDreamRuntime/DreamThread.cs @@ -255,8 +255,9 @@ public DreamValue ReentrantResume(ProcState? untilState, out ProcStatus resultSt try { if (Profiler.IsActivated() && _current.TracyZoneId is null && _current.Proc != null) { //IsActivated() call just for optimisation reasons var location =_current.TracyLocationId; - // ReSharper disable once ExplicitCallerInfoArgument + // ReSharper disable ExplicitCallerInfoArgument _current.TracyZoneId = Profiler.BeginZone((_current.Proc.OwningType.Path.Equals("/") ? "/proc/" : _current.Proc.OwningType.Path+"/") +_current.Proc.Name, filePath: location.SourceFile, lineNumber: location.Line); + // ReSharper restore ExplicitCallerInfoArgument } // _current.Resume may mutate our state!!! status = _current.Resume();