Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit 009b539

Browse files
committed
Fix a little screwup where the game would crash if non-red team tried to buy stuff
1 parent d80d5b5 commit 009b539

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Activities/GameActivity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1777,7 +1777,7 @@ void GameActivity::Update()
17771777
m_FundsChanged[team] = true;
17781778
} else {
17791779
CreateDelivery(player);
1780-
m_Deliveries->rbegin()->multiOrderYOffset = lzOffsetY;
1780+
m_Deliveries[team].rbegin()->multiOrderYOffset = lzOffsetY;
17811781
}
17821782
// Revert the Y offset so that the cursor doesn't flinch.
17831783
m_LandingZone[player].m_Y -= lzOffsetY;

0 commit comments

Comments
 (0)