summaryrefslogtreecommitdiff
path: root/Thronefall_1_0/Decompile/PerkIndestructible.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall_1_0/Decompile/PerkIndestructible.cs')
-rw-r--r--Thronefall_1_0/Decompile/PerkIndestructible.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/Thronefall_1_0/Decompile/PerkIndestructible.cs b/Thronefall_1_0/Decompile/PerkIndestructible.cs
deleted file mode 100644
index d03713e..0000000
--- a/Thronefall_1_0/Decompile/PerkIndestructible.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using UnityEngine;
-
-public class PerkIndestructible : MonoBehaviour
-{
- [SerializeField]
- private Equippable indestructiblePerk;
-
- private void Start()
- {
- if (PerkManager.IsEquipped(indestructiblePerk))
- {
- TaggedObject componentInChildren = GetComponentInChildren<TaggedObject>();
- if ((bool)componentInChildren)
- {
- componentInChildren.RemoveTag(TagManager.ETag.PlayerOwned);
- }
- }
- Object.Destroy(this);
- }
-
- private void Update()
- {
- }
-}