WildCodeSchool / tours-php-2009-project2-defendthecastle

0 stars 0 forks source link

Exception when trying to kill same enemy twice with the same unit #32

Open LucyMerlier opened 3 years ago

LucyMerlier commented 3 years ago

Capture d’écran de 2020-11-25 14-30-31

tried killing enemy with horseman, failed (-54), tried to kill same enemy again with horseman, got an exception

LucyMerlier commented 3 years ago

Actually, we get that exception everytime we try to attack a second time with any unit. we can attack once, then we get a win or fail message that stays on screen, then we get the error if we select a new unit

KevinRoig commented 3 years ago

Same error here

CeliaBoiss commented 3 years ago

Same