We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d50ca45 commit 5354253Copy full SHA for 5354253
src/blocks/looksblocks.cpp
@@ -964,7 +964,7 @@ void LooksBlocks::randomBackdropImpl(VirtualMachine *vm)
964
if (Stage *stage = vm->engine()->stage()) {
965
std::size_t count = stage->costumes().size();
966
967
- if (count > 0) {
+ if (count > 1) {
968
stage->setCostumeIndex(rng->randintExcept(0, count - 1, stage->costumeIndex()));
969
}
970
0 commit comments