diff --git a/usermods/TetrisAI_v2/gridbw.h b/usermods/TetrisAI_v2/gridbw.h index 6e4966f38..deea027d7 100644 --- a/usermods/TetrisAI_v2/gridbw.h +++ b/usermods/TetrisAI_v2/gridbw.h @@ -117,7 +117,7 @@ public: { if (width > 32) { - throw std::invalid_argument("maximal width is 32"); + width = 32; } pixels.clear();