mirror of
				https://gitgud.io/c0ffeeeeeeee/rjw-events.git
				synced 2024-08-14 23:57:42 +00:00 
			
		
		
		
	Fixes for orgy job, made psychic arouse incidentworker fireable
This commit is contained in:
		
							parent
							
								
									ea886df513
								
							
						
					
					
						commit
						84be102c0f
					
				
					 11 changed files with 26 additions and 59 deletions
				
			
		| 
						 | 
				
			
			@ -73,11 +73,6 @@ namespace RJW_Events
 | 
			
		|||
            return base.VoluntaryJoinPriorityFor(p);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public new bool IsGatheringAboutToEnd()
 | 
			
		||||
        {
 | 
			
		||||
            return timeoutTrigger.TicksLeft < 300;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        public override void Notify_PawnAdded(Pawn p)
 | 
			
		||||
        {
 | 
			
		||||
            if(participants == null)
 | 
			
		||||
| 
						 | 
				
			
			@ -93,14 +88,8 @@ namespace RJW_Events
 | 
			
		|||
 | 
			
		||||
            foreach(Pawn participant in participants)
 | 
			
		||||
            {
 | 
			
		||||
                if (participant != null)
 | 
			
		||||
                {
 | 
			
		||||
                    participant.mindState.Notify_OutfitChanged();
 | 
			
		||||
 | 
			
		||||
                    GlobalTextureAtlasManager.TryMarkPawnFrameSetDirty(participant);
 | 
			
		||||
                    if (xxx.is_human(participant))
 | 
			
		||||
                        participant.Drawer.renderer.graphics.ResolveAllGraphics();
 | 
			
		||||
                }
 | 
			
		||||
                participant.TryGetComp<CompRJW>().drawNude = false;
 | 
			
		||||
                participant.Drawer.renderer.SetAllGraphicsDirty();
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            participants = null;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue