diff --git a/GameDie.cpp b/GameDie.cpp index e9fb279..fe9784f 100644 --- a/GameDie.cpp +++ b/GameDie.cpp @@ -18,6 +18,7 @@ GameDie::GameDie(unsigned int num) { if( num == 0 ) { + counter.resize(FACES); roll_counter.resize(FACES); } else{ diff --git a/README.md b/README.md index 9a8fe2c..1bf3cd3 100644 --- a/README.md +++ b/README.md @@ -23,4 +23,6 @@ Once built, run the image: ...or run it with a bind mount to the current source code: -`docker run --mount type=bind,source="$(pwd)",target=/usr/src -it cpp-container` \ No newline at end of file +`docker run --mount type=bind,source="$(pwd)",target=/usr/src -it cpp-container` + +.githuub/workflows/main.yml