diff --git a/Assets/Scripts/Trap.cs b/Assets/Scripts/Trap.cs index 640edb0..367fb56 100644 --- a/Assets/Scripts/Trap.cs +++ b/Assets/Scripts/Trap.cs @@ -151,8 +151,8 @@ public class Trap : MonoBehaviour if (robberInRange) { - Debug.Log("The robber set off the trap."); - isActivated = false; + Debug.Log("The robber set off the trap"); + isActivated = true; GetComponent().sharedMaterial = unsetMaterial; }