Skip to content

Commit 0ee8da9

Browse files
committed
Oops
1 parent fc25145 commit 0ee8da9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CloneDash/Levels/SceneEditorLevel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
namespace CloneDash.Levels;
1212

13-
public class SceneEditorLevel() : DashGameLevel(null)
13+
public class SceneEditorLevel() : DashGameLevel(default)
1414
{
1515
public static ConCommand sceneedit = new(nameof(sceneedit), (_, in _) => {
1616
Interlude.Begin("Loading the Scene Editor...");

CloneDash/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ private static void DoCmdLineOps(ICommandLine cmd, bool first) {
217217
break;
218218
}
219219

220-
var lvl = new DashGameLevel(new DashGameParams(sheet).WithAutoplay(cmd.FindParm("-autoplay") != 0).WithMeasure(cmd.ParmValue("-startmeasure", 0d)));
220+
var lvl = new DashGameLevel(new DashGameParams(sheet).WithAutoplay(cmd.FindParm("-autoplay") != 0).WithMeasure(cmd.ParmValue("-startmeasure", 0)));
221221
if (!first) Interlude.Begin("Interprocess load started!");
222222
EngineCore.LoadLevel(lvl);
223223
if (!first) Interlude.End();

0 commit comments

Comments
 (0)