From baf0c9f0939324d02e04c582ac66b72b075bf9c0 Mon Sep 17 00:00:00 2001 From: SergoDobro Date: Mon, 19 Aug 2024 19:29:24 +0300 Subject: [PATCH] hotfix --- .../GameObjects/Entities/LivingEntities/Enemies/Zombie.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ZoFo/GameCore/GameObjects/Entities/LivingEntities/Enemies/Zombie.cs b/ZoFo/GameCore/GameObjects/Entities/LivingEntities/Enemies/Zombie.cs index f6c17fb..09db9b5 100644 --- a/ZoFo/GameCore/GameObjects/Entities/LivingEntities/Enemies/Zombie.cs +++ b/ZoFo/GameCore/GameObjects/Entities/LivingEntities/Enemies/Zombie.cs @@ -28,7 +28,7 @@ namespace ZoFo.GameCore.GameObjects isAttacking = false; StartAnimation("zombie_walk"); collisionComponent.isTrigger = true; - collisionComponent.hasCollision = false; + collisionComponent.hasCollision = true; (graphicsComponent as AnimatedGraphicsComponent).actionOfAnimationEnd += EndAttack; collisionComponent.OnTriggerZone += OnPlayerClose; collisionComponent.triggerRectangle = new Rectangle(-5, -5, 40, 40);