mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-25 05:11:05 +00:00
Server: Power Switch skin hotfix
This commit is contained in:
parent
8a7e3dbf94
commit
73f7d7ff24
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue