Update preferences_savefile.dm
This commit is contained in:
@@ -271,7 +271,7 @@ SAVEFILE UPDATING/VERSIONING - 'Simplified', or rather, more coder-friendly ~Car
|
|||||||
loadout_data["SAVE_[i]"] = list()
|
loadout_data["SAVE_[i]"] = list()
|
||||||
for(var/some_gear_item in saved_loadout_paths)
|
for(var/some_gear_item in saved_loadout_paths)
|
||||||
if(!ispath(text2path(some_gear_item)))
|
if(!ispath(text2path(some_gear_item)))
|
||||||
message_admins("Failed to copy item [some_gear_item] to new loadout system when migrating from version [current_version] to 40, issue: item is not a path")
|
log_game("Failed to copy item [some_gear_item] to new loadout system when migrating from version [current_version] to 40, issue: item is not a path")
|
||||||
continue
|
continue
|
||||||
var/datum/gear/gear_item = text2path(some_gear_item)
|
var/datum/gear/gear_item = text2path(some_gear_item)
|
||||||
if(!(initial(gear_item.loadout_flags) & LOADOUT_CAN_COLOR_POLYCHROMIC))
|
if(!(initial(gear_item.loadout_flags) & LOADOUT_CAN_COLOR_POLYCHROMIC))
|
||||||
|
|||||||
Reference in New Issue
Block a user