Only hover the kart during active race phase or complete live join world
This commit is contained in:
parent
2950238d2b
commit
ca34b64ba4
@ -1414,7 +1414,8 @@ void Kart::update(int ticks)
|
||||
// Hover the kart above reset position before entering the game
|
||||
// Add invulnerability depends on kart
|
||||
if (m_live_join_util != 0 &&
|
||||
(m_live_join_util > World::getWorld()->getTicksSinceStart() ||
|
||||
((m_live_join_util > World::getWorld()->getTicksSinceStart() &&
|
||||
World::getWorld()->isActiveRacePhase()) ||
|
||||
World::getWorld()->isLiveJoinWorld()))
|
||||
{
|
||||
btRigidBody *body = getBody();
|
||||
|
Loading…
Reference in New Issue
Block a user