software-challenge / backend

Server, Client und Spiel-Plugins der Software-Challenge Germany
https://www.software-challenge.de
11 stars 10 forks source link

fix(plugin/GameState): correctly clone fishes array #415

Closed ErikBcd closed 2 years ago

ErikBcd commented 2 years ago

Issue #414

jnccd commented 2 years ago

The lastMove Field isnt used much anymore but I assume it would need a .clone() too to work properly

ErikBcd commented 2 years ago

I tested the lastMove field (manually), but it's being cloned correctly. The only issue was the fishes vector

jnccd commented 2 years ago

Interesting, well then this should fix the entire issue