Skip to content

Commit c1ab52b

Browse files
committed
Fix LookAtAction. Never ended when no text.
1 parent f8bdb67 commit c1ab52b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

blade-engine/src/com/bladecoder/engine/actions/LookAtAction.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,14 @@ else if (a != null && player != null) {
9090
}
9191
}
9292

93-
if (text != null)
93+
if (text != null) {
9494
World.getInstance().getTextManager().addText(text, TextManager.POS_SUBTITLE, TextManager.POS_SUBTITLE,
9595
false, Text.Type.SUBTITLE, null, null, wait ? cb : null);
96+
97+
return wait;
98+
}
9699

97-
return wait;
100+
return false;
98101
}
99102

100103
}

0 commit comments

Comments
 (0)