mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 20:01:34 +00:00
SERVER: Fix Mysterybox denybuy.wav loop
This commit is contained in:
parent
d56a17faf3
commit
c295f9215a
1 changed files with 1 additions and 1 deletions
|
@ -1523,6 +1523,7 @@ void() mystery_touch =
|
||||||
|
|
||||||
if (other.button7 && !other.semiuse)
|
if (other.button7 && !other.semiuse)
|
||||||
{
|
{
|
||||||
|
other.semiuse = true;
|
||||||
if (!self.boxstatus)
|
if (!self.boxstatus)
|
||||||
{
|
{
|
||||||
if (other.points >= 950)
|
if (other.points >= 950)
|
||||||
|
@ -1542,7 +1543,6 @@ void() mystery_touch =
|
||||||
}
|
}
|
||||||
if (self.boxstatus == 2)
|
if (self.boxstatus == 2)
|
||||||
{
|
{
|
||||||
other.semiuse = 1;
|
|
||||||
if (self.owner == other)
|
if (self.owner == other)
|
||||||
{
|
{
|
||||||
other.reload_delay = 0;
|
other.reload_delay = 0;
|
||||||
|
|
Loading…
Reference in a new issue