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

View file

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