Files
CHOMPStation2/code/modules/client/preference_setup/loadout/loadout.dm
Leshana a5af2759e3 Fix Runtime in loadout.dm,277: bad index
Runtime happens when someone has a saved preferences loadout containing an item that currently is expected to have gear_tweaks, but at the time that the savefile was last saved, did *not* have gear tweaks.  Thus the saved prefs have null metadata.
Also it makes no sense to check the length of a list *inside* a for loop iterating over that list..
TODO - Figure out if its okay to spawn it without the metadata.
2020-02-23 22:03:21 -05:00

10 KiB