ThePotato-scanForItemsFix icon

scanForItemsFix

Fixes an error that occurs when scanning for scrap

Last updated 10 months ago
Total downloads 183809
Total rating 9 
Categories Mods
Dependency string ThePotato-scanForItemsFix-1.0.4
Dependants 195 other packages depend on this package

README

scanForItemsFix

This mod fixes the issue where the terminal outputs [scanForItems] instead of the scan results due to certain scrap values having a higher minimum value than the maximum value when the game tries to calculate the scrap value of an item.

The error

An error occured while post processing terminal text: System.ArgumentOutOfRangeException: 'minValue' cannot be greater than maxValue.

The fix

The fix is to simply check if the minimum value is greater than the maximum value and if so, set the minimum value to the maximum value.