Commit f6b10275 by Tim Reiter
parents e41ebd2d 8bfb72fc
...@@ -30,6 +30,7 @@ public class ShieldScript : MonoBehaviour { ...@@ -30,6 +30,7 @@ public class ShieldScript : MonoBehaviour {
void stopShielding() void stopShielding()
{ {
if (parentHealth != null) parentHealth.setShield(false);
Destroy(gameObject); Destroy(gameObject);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment