Remove duplicate unused QVariantMap attr in isWinnable

This commit is contained in:
ItsDrike 2024-12-10 13:27:42 +01:00
parent 47b80c4e25
commit 6ecfc64a79
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0

View file

@ -899,7 +899,6 @@ QVariant GameState::isWinnable() const {
// there doesn't seem to be an easy way to specify that this is null from C++
map["winnable"] = QVariant();
}
map["optionalBool"] = m_isWinnable.first.has_value() ? QVariant(m_isWinnable.first.value()) : QVariant::fromValue(QVariant());
map["depth"] = m_isWinnable.second;
return map;
}