mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 20:43:10 +01:00
Fixes loadout renaming runtimes (#12497)
This commit is contained in:
@@ -211,9 +211,12 @@ var/datum/gear_tweak/custom_name/gear_tweak_free_name = new()
|
||||
if(!metadata)
|
||||
return I.name
|
||||
I.name = metadata
|
||||
if(I.vars["base_name"])
|
||||
I.vars["base_name"] = metadata
|
||||
|
||||
// For reasons unknown, using SEND_SIGNAL instead of what is below makes rag renaming completely break.
|
||||
var/datum/component/base_name/BN = I.GetComponent(/datum/component/base_name)
|
||||
if(BN)
|
||||
BN.rename(metadata)
|
||||
|
||||
/*
|
||||
Custom Description
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user