ConnectPause event gets callled together with ConnectWorldUpdateBegin
Hi,
when using Events::ConnectPause separatly the callback gets called only when the simulation is paused/started. However, if I use the Events::ConnectWorldUpdateBegin as well, both callbacks are called at every world update:
here is the code snippet
this->eventConnection = event::Events::ConnectWorldUpdateBegin(
boost::bind(&PluginClass::DummyWorldUpdate, this));
this->pauseConnection = event::Events::ConnectPause(
boost::bind(&PluginClass::DummyPauseUpdate, this));
is this a bug?
Asked by AndreiHaidu on 2014-09-24 09:13:26 UTC
Comments