SpawnPlayerWithEffect does not call callback

Describe the bug:

How do you cause this bug?

  • use SpawnPlayerWithEffect
  • pass callback

it should be called but it is not. Example code:


	user:SpawnPlayerWithEffect(template, Vector.New(0,0,0), Rotation.New(0,0,0), function(player)
		Printf("after spawn")
	end)

Expect ‘after spawn’ to be printed

Thanks for describing this issue, we’ll investigate!