Clean way of doing it (nw)

This commit is contained in:
Miodrag Milanovic 2016-02-27 19:51:46 +01:00
parent 5b47ed4474
commit 4fe5d21f1e
2 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,6 @@ void running_machine::start()
m_favorite = std::make_unique<favorite_manager>(*this);
manager().update_machine();
manager().lua()->attach_notifiers();
}

View File

@ -149,6 +149,7 @@ void machine_manager::schedule_new_driver(const game_driver &driver)
void machine_manager::update_machine()
{
m_lua->set_machine(m_machine);
m_lua->attach_notifiers();
}