mirror of
				https://github.com/Shabakur/RJW_Animal_Gene_Inheritance.git
				synced 2024-08-14 22:46:41 +00:00 
			
		
		
		
	Fixed mistake in hediffinsecteggpregnancy patch
This commit is contained in:
		
							parent
							
								
									a36bdb7e9a
								
							
						
					
					
						commit
						5000d918fe
					
				
					 7 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -27,5 +27,6 @@
 | 
			
		|||
		<li>brrainz.harmony</li>
 | 
			
		||||
		<li>ludeon.rimworld.biotech</li>
 | 
			
		||||
		<li>rim.job.world</li>
 | 
			
		||||
		<li>ASMR.RJW.RaceSupport</li>
 | 
			
		||||
	</loadAfter>
 | 
			
		||||
</ModMetaData>
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| 
						 | 
				
			
			@ -24,7 +24,8 @@ namespace RJW_BGS
 | 
			
		|||
 | 
			
		||||
            foreach (CodeInstruction instruction in instructions)
 | 
			
		||||
            {
 | 
			
		||||
                if(instruction.opcode == OpCodes.Call && instruction.operand.ToString() == "Void BabyPostBirth(Verse.Pawn, Verse.Pawn, Verse.Pawn)")
 | 
			
		||||
                yield return instruction;
 | 
			
		||||
                if (instruction.opcode == OpCodes.Call && instruction.operand.ToString() == "Void BabyPostBirth(Verse.Pawn, Verse.Pawn, Verse.Pawn)")
 | 
			
		||||
                {
 | 
			
		||||
                    yield return new CodeInstruction(OpCodes.Ldloc_0, null);
 | 
			
		||||
                    yield return new CodeInstruction(OpCodes.Ldfld, implanter);
 | 
			
		||||
| 
						 | 
				
			
			@ -33,7 +34,7 @@ namespace RJW_BGS
 | 
			
		|||
                    yield return new CodeInstruction(OpCodes.Ldloc_1, null);
 | 
			
		||||
                    yield return new CodeInstruction(OpCodes.Call, newgenes);
 | 
			
		||||
                }
 | 
			
		||||
                yield return instruction;
 | 
			
		||||
                
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue