Commits

Torr_Samaho committed d119165

Fixed: A map reset in possession/teampossession (possibly with the new ACS command ResetMap in combination with the GAMEMODE lump) broke the "artifact held" countdown.

Comments (0)

Files changed (1)

 	// [BB] If playing Domination reset ownership, even the clients can do this.
 	if ( domination )
 		DOMINATION_Reset();
+
+	// [BB] If playing possession make sure to end the held countdown, even the clients can do this.
+	if ( possession || teampossession )
+	{
+		POSSESSION_SetArtifactHoldTicks ( 0 );
+		if ( POSSESSION_GetState() == PSNS_ARTIFACTHELD )
+			POSSESSION_SetState( PSNS_PRENEXTROUNDCOUNTDOWN );
+	}
 }
 
 //*****************************************************************************