mirror of
				https://gitgud.io/lutepickle/rjw_menstruation.git
				synced 2024-08-14 22:46:52 +00:00 
			
		
		
		
	Check for null pawn cum when merging cum
This commit is contained in:
		
							parent
							
								
									2350cf7355
								
							
						
					
					
						commit
						eb0d40ea1a
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -902,7 +902,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
                bool merged = false;
 | 
					                bool merged = false;
 | 
				
			||||||
                if (!cums.NullOrEmpty()) foreach (Cum cum in cums)
 | 
					                if (!cums.NullOrEmpty()) foreach (Cum cum in cums)
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
                        if (cum.pawn.Equals(cummer))
 | 
					                        if (cum.pawn?.Equals(cummer) ?? false)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            cum.MergeWithCum(volume, fertility);
 | 
					                            cum.MergeWithCum(volume, fertility);
 | 
				
			||||||
                            merged = true;
 | 
					                            merged = true;
 | 
				
			||||||
| 
						 | 
					@ -917,7 +917,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
                bool merged = false;
 | 
					                bool merged = false;
 | 
				
			||||||
                if (!cums.NullOrEmpty()) foreach (Cum cum in cums)
 | 
					                if (!cums.NullOrEmpty()) foreach (Cum cum in cums)
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
                        if (cum.pawn.Equals(cummer))
 | 
					                        if (cum.pawn?.Equals(cummer) ?? false)
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            cum.MergeWithCum(volume, fertility);
 | 
					                            cum.MergeWithCum(volume, fertility);
 | 
				
			||||||
                            merged = true;
 | 
					                            merged = true;
 | 
				
			||||||
| 
						 | 
					@ -954,7 +954,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
                bool merged = false;
 | 
					                bool merged = false;
 | 
				
			||||||
                if (!cums.NullOrEmpty()) foreach (Cum cum in cums)
 | 
					                if (!cums.NullOrEmpty()) foreach (Cum cum in cums)
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
                        if (cum.notcum && cum.pawn.Equals(cummer) && cum.notcumLabel.Equals(notcumlabel))
 | 
					                        if (cum.notcum && (cum.pawn?.Equals(cummer) ?? false) && cum.notcumLabel.Equals(notcumlabel))
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            cum.MergeWithFluid(volume, decayresist, filthdef);
 | 
					                            cum.MergeWithFluid(volume, decayresist, filthdef);
 | 
				
			||||||
                            merged = true;
 | 
					                            merged = true;
 | 
				
			||||||
| 
						 | 
					@ -969,7 +969,7 @@ namespace RJW_Menstruation
 | 
				
			||||||
                bool merged = false;
 | 
					                bool merged = false;
 | 
				
			||||||
                if (!cums.NullOrEmpty()) foreach (Cum cum in cums)
 | 
					                if (!cums.NullOrEmpty()) foreach (Cum cum in cums)
 | 
				
			||||||
                    {
 | 
					                    {
 | 
				
			||||||
                        if (cum.notcum && cum.pawn.Equals(cummer) && cum.notcumLabel.Equals(notcumlabel))
 | 
					                        if (cum.notcum && (cum.pawn?.Equals(cummer) ?? false) && cum.notcumLabel.Equals(notcumlabel))
 | 
				
			||||||
                        {
 | 
					                        {
 | 
				
			||||||
                            cum.MergeWithFluid(volume, decayresist, filthdef);
 | 
					                            cum.MergeWithFluid(volume, decayresist, filthdef);
 | 
				
			||||||
                            merged = true;
 | 
					                            merged = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue