Seanharrs / puzzleknight

Puzzle Knight - A Third Person Fantasy Hack&Slash Puzzle Adventure Game
0 stars 1 forks source link

Time power can be activated again while active #23

Closed Seanharrs closed 7 years ago

Seanharrs commented 7 years ago

This breaks the power, as it starts growing again but then shrinks much sooner than it should because it's going off of the old timer. This then means it can't be activated for a bit after it shrinks because the second activation's timer will still be active.

A boolean switch that prevents activation if the object is already active should fix this.

tamagossow commented 7 years ago

Added a Boolean to TimeFreeze and to the KeyDown if statement.