mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-18 19:44:58 +01:00
Modular machinery computer UI opens again (#76187)
**Problem Reproduction** 1. Find/Make any instance of `/obj/machinery/modular_computer` 2. Try opening its UI 3. Doesn't work **The Solution** Assign the processor's `physical` var with the computer that it's inside in.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
CRASH("A non '/obj/machinery/modular_computer' had a [src] initialized in it!")
|
||||
|
||||
// Obtain reference to machinery computer
|
||||
physical = loc
|
||||
machinery_computer = loc
|
||||
machinery_computer.cpu = src
|
||||
internal_cell = machinery_computer.internal_cell
|
||||
|
||||
Reference in New Issue
Block a user