Fix regression in LegoWorld::Enable ()

* Fix regression in `LegoWorld::Enable`

* Update legoworld.cpp
This commit is contained in:
Christian Semmler 2025-01-11 11:39:27 -07:00 committed by GitHub
parent 33d8192d75
commit 5c57b805de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -741,7 +741,7 @@ void LegoWorld::Enable(MxBool p_enable)
SetIsWorldActive(TRUE);
#endif
}
else if (!p_enable && m_set0xd0.size() != 0) {
else if (!p_enable && m_set0xd0.size() == 0) {
MxPresenter* presenter;
LegoPathController* controller;
LegoPathActor* actor = UserActor();