From 73f7d7ff24980704a34d5043bb9d3c2246dad58e Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 6 Apr 2022 10:26:32 -0400 Subject: [PATCH] Server: Power Switch skin hotfix --- source/server/entities/machines.qc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/server/entities/machines.qc b/source/server/entities/machines.qc index 8f64411..8d42438 100644 --- a/source/server/entities/machines.qc +++ b/source/server/entities/machines.qc @@ -1149,6 +1149,10 @@ void() power_switch = if (!self.oldmodel) self.oldmodel = "sounds/machines/power.wav"; + // Skin + if (!self.skin) + self.skin = 0; + self.solid = SOLID_TRIGGER; Precache_Set(self.model); precache_sound(self.oldmodel);