SERVER: Use .noise for trigger_awardpoints

This commit is contained in:
MotoLegacy 2024-01-30 16:23:27 -05:00
parent 1205b94030
commit 60383b1ab0

View file

@ -386,8 +386,8 @@ void() trigger_awardpoints_touch =
addmoney(other, self.points, (self.spawnflags & SPAWNFLAG_TRIGGERSCORE_APPLY2XPOINTS));
if (self.aistatus != "")
sound(self, 0, self.aistatus, 1, 1);
if (self.noise != "")
sound(self, 0, self.noise, 1, 1);
}
void() trigger_awardpoints =
@ -395,8 +395,8 @@ void() trigger_awardpoints =
InitTrigger ();
self.touch = trigger_awardpoints_touch;
if (self.aistatus != "")
precache_sound(self.aistatus);
if (self.noise != "")
precache_sound(self.noise);
}
//