Skip to content

Commit 2487a67

Browse files
committed
Take the 'default' texture into account
1 parent 4550ea6 commit 2487a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Entities/MultiNodeMovingPlatform.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public override void Added(Scene scene) {
6262
base.Added(scene);
6363

6464
// read the matching texture
65-
if (overrideTexture == "default") {
65+
if (string.IsNullOrEmpty(overrideTexture)) {
6666
overrideTexture = AreaData.Get(scene).WoodPlatform;
6767
}
6868
MTexture platformTexture = GFX.Game["objects/woodPlatform/" + overrideTexture];

0 commit comments

Comments
 (0)