feat: cure vasca virus (#1949)
Closes #1946 Reviewed-on: OpenWF/SpaceNinjaServer#1949 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									ec9dc2aa5f
								
							
						
					
					
						commit
						a8227ce54c
					
				@ -1509,7 +1509,9 @@ export const applyClientEquipmentUpdates = (
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (InfestationDate) {
 | 
			
		||||
            item.InfestationDate = fromMongoDate(InfestationDate);
 | 
			
		||||
            // 2147483647000 means cured, otherwise became infected
 | 
			
		||||
            item.InfestationDate =
 | 
			
		||||
                InfestationDate.$date.$numberLong == "2147483647000" ? new Date(0) : fromMongoDate(InfestationDate);
 | 
			
		||||
        }
 | 
			
		||||
    });
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user