mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-26 05:27:01 +01:00
Clears upgrades properly, not just their effects (#21100)
This commit is contained in:
@@ -550,6 +550,10 @@ GLOBAL_LIST_INIT(robot_verbs_default, list(
|
||||
weather_immunities -= "lava"
|
||||
armor = getArmor(arglist(initial(armor)))
|
||||
|
||||
for(var/obj/item/borg/upgrade/U in contents)
|
||||
QDEL_NULL(U)
|
||||
//This is needed so that upgrades can be installed again after the borg's module is reset.
|
||||
|
||||
status_flags |= CANPUSH
|
||||
|
||||
//for borg hotkeys, here module refers to borg inv slot, not core module
|
||||
|
||||
Reference in New Issue
Block a user