This bug fix will break the game (can be abused on extremely hard waves).
It should be changed to simply not allowing the player to use an extra Phase-out while already using it (although I think this might be hard to implement, as the game needs to track what is the next special weapon in the queue).