Skip to content

Commit

Permalink
Remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicFrog committed Jul 8, 2022
1 parent d5aa75e commit ad234b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions indestructable/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.1.1

- Fix: removed some stray debug logging

# 0.1.0

- Initial release
3 changes: 1 addition & 2 deletions indestructable/ca.ancilla.indestructable/Indestructable.zs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ class ::IndestructableForce : Inventory {
int damage, Name damageType, out int newdamage,
Actor inflictor, Actor source, int flags) {
if (!lives) return;
console.printf("Taking damage: %d (health=%d)", damage, owner.health);
if (damage >= owner.health) {
newdamage = owner.health - 1;
ActivateIndestructability();
Expand All @@ -131,7 +130,7 @@ class ::IndestructableForce : Inventory {

void ActivateIndestructability() {
--lives;
console.printf("INDESTRUCTABLE!");
console.printf("\c+INDESTRUCTABLE!");
self.SetStateLabel("RestoreHealth");

GivePowerup("::IndestructableScreenEffect");
Expand Down

0 comments on commit ad234b7

Please sign in to comment.