Fixed other player deaths causing transition
This commit is contained in:
parent
67ef4319ea
commit
ec9c477dd1
|
|
@ -54,7 +54,7 @@ namespace smoothDeathTransitions {
|
|||
public override void PreUpdate()
|
||||
{
|
||||
// Check if appropriate conditions
|
||||
if(Main.netMode != NetmodeID.Server){
|
||||
if(Main.netMode != NetmodeID.Server && Main.LocalPlayer == Player){
|
||||
// Check if the time is nigh
|
||||
if(transitionTicker==0 && Player.dead && Player.respawnTimer<transitionTime/2){
|
||||
transitionTicker=transitionTime;
|
||||
|
|
|
|||
Loading…
Reference in a new issue