From 3b86f3bee5a225d1b9bd5810ea2684791e914347 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 9 Oct 2023 12:46:20 +0200 Subject: [PATCH] Updated an another property. --- game/player/Body.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/player/Body.gd b/game/player/Body.gd index 1ae10704..9a468b4b 100644 --- a/game/player/Body.gd +++ b/game/player/Body.gd @@ -535,7 +535,7 @@ func process_movement_mob(delta : float) -> void: if translation.y < -2000.0: print("killed mob with fall damage") var sdi : SpellDamageInfo = SpellDamageInfo.new() - sdi.damage_source_type = SpellDamageInfo.DAMAGE_SOURCE_UNKNOWN + sdi.source_type = SpellDamageInfo.DAMAGE_SOURCE_UNKNOWN sdi.damage = 999999999 entity.stake_damage(sdi)