The previous pull request actually introduced a bug which breaks the game when a furgon casts a shrub! This is due to the fact that we now check unit at start of turn to see if they are in recovery - but the furgon shrub did not exist at start of turn, which trickles down into an NPE when checking recovery time.
Since the shrubs have no actual recovery, we can just skip past them on this check. Added simple null check.
The previous pull request actually introduced a bug which breaks the game when a furgon casts a shrub! This is due to the fact that we now check unit at start of turn to see if they are in recovery - but the furgon shrub did not exist at start of turn, which trickles down into an NPE when checking recovery time.
Since the shrubs have no actual recovery, we can just skip past them on this check. Added simple null check.
Testing
http://localhost:2000