Skip to content

Commit 80ff53e

Browse files
committed
Better null bgPos error message
1 parent 5f3a62a commit 80ff53e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/electron.renderer/data/Level.hx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class Level {
177177
var sy = 1.0;
178178
switch bgPos {
179179
case null:
180-
throw "Unexpected null here";
180+
throw "bgPos should not be null";
181181

182182
case Unscaled:
183183

0 commit comments

Comments
 (0)