Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compile error
Browse files Browse the repository at this point in the history
bladecoder committed Jun 25, 2024
1 parent f943fd2 commit 61bd545
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adventure-editor/src/main/resources/versions.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
androidAPILevel=33
androidGradlePluginVersion=8.1.0
bladeInkVersion=1.1.2
bladeInkVersion=1.2.0
libgdxVersion=1.12.1
roboVMVersion=2.3.21
version=4.3.1
2 changes: 1 addition & 1 deletion blade-engine/src/com/bladecoder/engine/ink/InkManager.java
Original file line number Diff line number Diff line change
@@ -166,7 +166,7 @@ public boolean compareVariable(String name, String value) {
waitIfNotLoaded();

if (story.getVariablesState().get(name) instanceof InkList) {
return ((InkList) story.getVariablesState().get(name)).ContainsItemNamed(value);
return ((InkList) story.getVariablesState().get(name)).containsItemNamed(value);
} else {
return story.getVariablesState().get(name).toString().equals(value == null ? "" : value);
}

0 comments on commit 61bd545

Please sign in to comment.