skip empty factions in secondary effects
This commit is contained in:
		
							parent
							
								
									f4bce14ad0
								
							
						
					
					
						commit
						afa4866dbe
					
				| @ -130,6 +130,13 @@ namespace EliteBGS.BGS { | ||||
|                         string faction = other; | ||||
|                         string influence = completed.GetInfluenceForFaction(faction); | ||||
| 
 | ||||
|                         /* ignore empty factions which can happen  | ||||
|                          * I assume that this denotes that you are losing REP with a superpower | ||||
|                          */ | ||||
|                         if (string.IsNullOrEmpty(faction)) { | ||||
|                             continue; | ||||
|                         } | ||||
| 
 | ||||
|                         results.Add(new InfluenceSupport() { | ||||
|                             Faction = faction, | ||||
|                             Influence = influence, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user