mirror of
https://github.com/nzp-team/quakec.git
synced 2025-02-16 09:01:41 +00:00
SERVER: Use .noise for trigger_awardpoints
This commit is contained in:
parent
1205b94030
commit
60383b1ab0
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue