Skip to content

Commit fb391fd

Browse files
committed
lint
1 parent 881b84f commit fb391fd

File tree

5 files changed

+6
-4
lines changed

5 files changed

+6
-4
lines changed

DMCompiler/DM/Builders/DMProcBuilder.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,6 @@ private void ProcessStatementDel(DMASTProcStatementDel statementDel) {
144144
}
145145

146146
private void ProcessStatementSleep(DMASTProcStatementSleep statementSleep) {
147-
148147
var expr = _exprBuilder.Create(statementSleep.Delay);
149148

150149
if (expr.TryAsConstant(compiler, out var constant)) {

OpenDreamRuntime/Procs/AsyncProcState.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
namespace OpenDreamRuntime.Procs;
2+
23
public abstract class AsyncProcState : ProcState {
34
#if TOOLS
45
public override (string SourceFile, int Line) TracyLocationId => ("Async Native Proc", 0);

OpenDreamRuntime/Procs/DMOpcodeHandlers.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1901,7 +1901,7 @@ static ProcStatus SleepCore(DMProcState state, Task delay) {
19011901
sealed class SleepState : AsyncProcState {
19021902
public static readonly Stack<SleepState> Pool = new();
19031903

1904-
[Dependency] private readonly ProcScheduler ProcScheduler = null!;
1904+
[Dependency] private readonly ProcScheduler _procScheduler = null!;
19051905

19061906
DreamProc? _proc;
19071907
Task? _task;
@@ -1914,7 +1914,7 @@ public ProcStatus Initialize(DreamThread thread, DMProc proc, Task delay, DreamV
19141914
Thread = thread;
19151915
_proc = proc;
19161916
Result = pendingResult;
1917-
_task = ProcScheduler.Schedule(this, delay);
1917+
_task = _procScheduler.Schedule(this, delay);
19181918
thread.PushProcState(this);
19191919
return thread.HandleDefer();
19201920
}

OpenDreamRuntime/Procs/IOpenDreamGameTiming.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
using Robust.Shared.Timing;
22

33
namespace OpenDreamRuntime.Procs;
4+
45
public interface IOpenDreamGameTiming {
56
public GameTick CurTick { get; }
67

OpenDreamRuntime/Procs/OpenDreamGameTiming.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
using Robust.Shared.Timing;
22

33
namespace OpenDreamRuntime.Procs;
4-
sealed internal class OpenDreamGameTiming : IOpenDreamGameTiming {
4+
5+
internal sealed class OpenDreamGameTiming : IOpenDreamGameTiming {
56
[Dependency] private readonly IGameTiming _gameTiming = default!;
67

78
public GameTick CurTick => _gameTiming.CurTick;

0 commit comments

Comments
 (0)