Mass: not all parts can have 8 decals in the demo.
For now, at least. Just like the code that treats a lack of global styles as a demo thing, I'll remove it in due time.
This commit is contained in:
parent
4429e581f3
commit
d03e75a8e9
1 changed files with 1 additions and 2 deletions
|
@ -585,8 +585,7 @@ void Mass::getArmourParts() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(decals_array->items.size() != 8) {
|
if(decals_array->items.size() != 8) {
|
||||||
_state = State::Invalid;
|
_demo = true;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for(UnsignedInt j = 0; j < decals_array->items.size(); j++) {
|
for(UnsignedInt j = 0; j < decals_array->items.size(); j++) {
|
||||||
|
|
Loading…
Reference in a new issue