mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
Merge pull request #16361 from Kashargul/from-file
we load it from a file, that path might no longer exist
This commit is contained in:
@@ -151,6 +151,11 @@ GLOBAL_DATUM_INIT(gear_tweak_free_matrix_recolor, /datum/gear_tweak/matrix_recol
|
||||
continue
|
||||
else
|
||||
path = contents[metadata[i]]
|
||||
if(!path)
|
||||
var/mob/user = ismob(I.loc) ? I.loc : I.loc?.loc
|
||||
if(istype(user))
|
||||
to_chat(user, span_warning("The content \"[metadata[i]]\" from \"[I]\" does no longer exist and has not been loaded. Please replace it in the character setup."))
|
||||
continue
|
||||
new path(I)
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user