Fix the weaponbox not spawning properly in MP.

This commit is contained in:
Marco Cawthorne 2023-05-10 14:36:46 -07:00
parent 0b2955695a
commit cb2a517624
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ void
weaponbox_spawn(player spawner)
{
item_weaponbox weaponbox = spawn(item_weaponbox);
weaponbox.Spawned();
weaponbox.SetOrigin(spawner.origin);
weaponbox.setup(spawner);
}