Fixed safelock behavior on modes that needed it.

This commit is contained in:
Ishaan Bhardwaj
2020-11-09 23:16:28 -05:00
parent b27ef0e9f4
commit c614e9c4cd
4 changed files with 5 additions and 1 deletions

View File

@@ -126,6 +126,7 @@ end
function TGMPlusGame:onLineClear(cleared_row_count)
self.level = math.min(self.level + cleared_row_count, 999)
if self.level == 999 and not self.clear then self.clear = true end
if self.level >= 900 then self.lock_drop = true end
end
function TGMPlusGame:advanceBottomRow()