Skip to content

Commit

Permalink
Fix yvt#678 for real
Browse files Browse the repository at this point in the history
yvt committed Dec 29, 2017
1 parent 336d476 commit 77dfedb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/Client/Client_Input.cpp
Original file line number Diff line number Diff line change
@@ -342,8 +342,8 @@ namespace spades {
// Start with the local player
followedPlayerId = world->GetLocalPlayerIndex();
}
if (world->GetLocalPlayer()->IsSpectator()) {
} else if (time > lastAliveTime + 1.3f) {
if (world->GetLocalPlayer()->IsSpectator() ||
time > lastAliveTime + 1.3f) {
FollowNextPlayer(true);
}
}

0 comments on commit 77dfedb

Please sign in to comment.