mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Fixes being able to get infinite metal with modular consoles and holodeck
This commit is contained in:
@@ -131,7 +131,7 @@ var/list/global_modular_computers = list()
|
||||
update_icon()
|
||||
|
||||
/obj/machinery/modular_computer/attackby(var/obj/item/weapon/W as obj, mob/user)
|
||||
if(cpu)
|
||||
if(cpu && !(flags & NODECONSTRUCT))
|
||||
return cpu.attackby(W, user)
|
||||
return ..()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user