Skip to content

Commit

Permalink
zscript doesn't support tail recursion :(
Browse files Browse the repository at this point in the history
  • Loading branch information
ToxicFrog committed Sep 14, 2022
1 parent 0cf6b89 commit b75ff15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion NOTES
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Slomo option instead of timestop?

### 0.9.3

Make melee and wimpy XP bonuses not stack
clarify how the custom levelup sound cvar works
figure out XP wraparound
stop including PENTAHUD and other badlumps
Expand Down
4 changes: 2 additions & 2 deletions gun-bonsai/ca.ancilla.bonsai/WeaponInfo.zs
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ class ::WeaponInfo : Object play {
}

void OnActivate() {
return self.upgrades.OnActivate(stats, self);
self.upgrades.OnActivate(stats, self);
}
void OnDeactivate() {
return self.upgrades.OnDeactivate(stats, self);
self.upgrades.OnDeactivate(stats, self);
}

// List of upgrade classes that are unavailable on this weapon, even if they
Expand Down

0 comments on commit b75ff15

Please sign in to comment.