diff options
Diffstat (limited to 'objects.go')
-rw-r--r-- | objects.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -225,7 +225,9 @@ func OnCollideSpring(this, other *GameObject) bool { } func OnCollideSpike(this, other *GameObject) bool { - other.game.ResetAll() + if other == this.game.player { + other.game.ResetAll() + } return true } |