Skip to content

Commit

Permalink
No more ghost-builders fix colobot#1756
Browse files Browse the repository at this point in the history
  • Loading branch information
hexagonrecursion committed Aug 25, 2024
1 parent d740a13 commit b4cd86f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions colobot-base/src/object/old_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ void COldObject::Simplify()
}
m_main->SaveOneScript(this);

StopForegroundTask();
StopBackgroundTask();

m_implementedInterfaces[static_cast<int>(ObjectInterfaceType::ProgramStorage)] = false;
m_implementedInterfaces[static_cast<int>(ObjectInterfaceType::Programmable)] = false;

Expand Down

0 comments on commit b4cd86f

Please sign in to comment.