Closed
Description
When you smash yourself, such as by using the smash
command, you drop coins that you can try to re-collect. This behavior should exist for players being killed by Maelstrom, and does exist in the code, but doesn't function as intended. The causes appears to be GeneratePlayerYieldsAsync
being passed null
for the player, which is from SmashAsync
checking if the smashed object is a Player
, and then passing owner
, which can be undefined, instead of (Player) GameObject
.