Fix playeroptions:GetDisabledTimingWindows()

This commit is contained in:
Martin Natano
2022-06-08 18:06:52 +02:00
parent 9208afee2e
commit cb3cf0ab95
+1 -1
View File
@@ -2063,7 +2063,7 @@ public:
int original_top= lua_gettop(L);
lua_newtable( L );
int j = 0;
for (int i=TW_W1; i != TW_W5; ++i) {
for (int i=TW_W1; i <= TW_W5; ++i) {
if (p->m_twDisabledWindows[i]) {
Enum::Push(L, static_cast<TimingWindow>(i));
lua_rawseti( L, -2, j+1 );