remove exit from respawn map

This commit is contained in:
Mister_Nebula 2021-06-23 18:36:39 +01:00
parent 1c74e6fea4
commit f915b0e294

View File

@ -244,11 +244,6 @@ namespace QSB.DeathSync.Patches
// Lerp to final position
__instance.transform.position = Vector3.Lerp(startingPosition, endPosition, num5);
if (OWInput.IsInputMode(InputMode.Map) && (OWInput.IsNewlyPressed(InputLibrary.cancel, InputMode.All) || OWInput.IsNewlyPressed(InputLibrary.map, InputMode.All)))
{
QSBEventManager.FireEvent(EventNames.QSBPlayerRespawn, QSBPlayerManager.LocalPlayerId);
}
return false;
}
}