diff --git a/lua/entities/gmod_wire_cpu.lua b/lua/entities/gmod_wire_cpu.lua index 5d190a9..853d1fa 100644 --- a/lua/entities/gmod_wire_cpu.lua +++ b/lua/entities/gmod_wire_cpu.lua @@ -28,6 +28,7 @@ function ENT:Initialize() -- Create virtual machine self.VM = CPULib.VirtualMachine() self.VM.SerialNo = CPULib.GenerateSN("CPU") + self.VM.Entity = self -- Since the device supports (quota)interruptible instructions -- Memory access can be a lot cheaper. self.VM.MemoryReadCycles = 2