Fix the weaponbox not spawning properly in MP.
This commit is contained in:
parent
0b2955695a
commit
cb2a517624
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue