mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Merge pull request #24472 from lzimann/stupidsnowflake
Fixes NODECONSTRUCT modular consoles being deconstructable
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