diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/script/common/c_content.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/common/c_content.cpp b/src/script/common/c_content.cpp index 2ad4c9565..65239ff1f 100644 --- a/src/script/common/c_content.cpp +++ b/src/script/common/c_content.cpp @@ -334,7 +334,7 @@ ContentFeatures read_content_features(lua_State *L, int index) // removes value, keeps key for next iteration lua_pop(L, 1); i++; - if(i==6){ + if(i==CF_SPECIAL_COUNT){ lua_pop(L, 1); break; } |