dupsko
This commit is contained in:
commit
7549940ca0
1 changed files with 1 additions and 1 deletions
|
|
@ -151,8 +151,8 @@ public class Trap : MonoBehaviour
|
|||
|
||||
if (robberInRange)
|
||||
{
|
||||
isActivated = true;
|
||||
Debug.Log("The robber has set off the trap.");
|
||||
isActivated = false;
|
||||
GetComponent<MeshRenderer>().sharedMaterial = unsetMaterial;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue