NSItem: play pickup noise on player instead of self

This commit is contained in:
Marco Cawthorne 2024-07-26 14:51:30 -07:00
parent d936e57aa5
commit c27ab5dd5a
Signed by: eukara
GPG key ID: CE2032F0A2882A22

View file

@ -547,7 +547,7 @@ NSItem::_AddedCallback(void)
}
Logging_Pickup(pl, this, __NULL__);
StartSoundDef(m_sndAcquire, CHAN_ITEM, true);
pl.StartSoundDef(m_sndAcquire, CHAN_ITEM, true);
OnPickup();
Disappear();
#endif