SERVER: Fix Mysterybox denybuy.wav loop

This commit is contained in:
cypress 2023-08-25 21:31:38 -04:00
parent d56a17faf3
commit c295f9215a

View file

@ -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;