add a comment
This commit is contained in:
parent
c0bd6253c1
commit
4fe20fd125
1 changed files with 3 additions and 0 deletions
|
@ -561,6 +561,9 @@ bool wml_event_pump::operator()()
|
|||
{ // Block for context::scoped
|
||||
context::scoped inner_evc(impl_->contexts_, false);
|
||||
if(resources::lua_kernel->run_event(ev)) {
|
||||
// TODO: since feeding was moved to lua we _always_ have a lua on_event handler so
|
||||
// lua_kernel->run_event always returns true. So maybe we shodul remove this
|
||||
// internal_wml_tracking thing (in particular the 'optimisation' in the movement code)?
|
||||
++impl_->internal_wml_tracking;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue