Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
Quick update to 0.2.1 to fix games being sorted out of order
Browse files Browse the repository at this point in the history
  • Loading branch information
inickt committed Apr 21, 2018
1 parent e1f4068 commit cee2cf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LazyMan-iOS/Game.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class Game

static func sort(game1: Game, game2: Game) -> Bool
{
if game1.gameState == .live && game2.gameState == .live
if (game1.gameState == .live && game2.gameState == .live) || (game1.gameState == .preview && game2.gameState == .preview)
{
return game1.startTime <= game2.startTime
}
Expand Down
2 changes: 1 addition & 1 deletion LazyMan-iOS/Resources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.2.0</string>
<string>0.2.1</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
Expand Down

0 comments on commit cee2cf2

Please sign in to comment.