ArcanePariah / Night-of-the-Dead

9 stars 14 forks source link

Fix to a rare situation where learning a skill fails to execute. #205

Closed NiktosNOTD closed 6 years ago

NiktosNOTD commented 6 years ago

If a player picks a skill during cutscene his marine can't execute 'learn' ability and trigger moved on. With this fix trigger will wait until the marine stops being paused before issuing the order. Same situation but for different reason could occur if player picked skill being mid-air by result of psi ops force push.

I did not find any other skills that could cause it also but in situation some other one get found out later it's just a matter of adding them to condition list.

Also i am aware the part related to cutscene could just be resolved by force closing skill window before it starts. At this point however anything related to cutscenes is pretty alien to me and as such this aproach was risk free.

WHY: why replay.zip