mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 12:47:16 +01:00
[MIRROR] Allows the robot sheet snatcher to be upgraded (#12393)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
1f500dc659
commit
2d847d431a
@@ -330,7 +330,7 @@
|
||||
U = UN
|
||||
if(istype(U, /obj/item/borg/upgrade/restricted))
|
||||
target.module.supported_upgrades |= new_upgrade
|
||||
if(!U.action(target))
|
||||
if(!U.action(ui.user, target))
|
||||
return FALSE
|
||||
U.loc = target
|
||||
target.hud_used?.update_robot_modules_display()
|
||||
|
||||
Reference in New Issue
Block a user