Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 967775d

Browse files
committed
Update core.cpp
1 parent 9e0cef9 commit 967775d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

byond-extools/src/core/core.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void Core::Alert(int what)
111111
}
112112

113113
unsigned int Core::GetStringId(std::string str, bool increment_refcount) {
114-
if (ByondVersion == 514) {
114+
if (ByondVersion >= 514) {
115115
return GetStringTableIndexUTF8(str.c_str(), 0xFFFFFFFF, 0, 1);
116116
}
117117
return 0;

0 commit comments

Comments
 (0)