Whiteboard: also validate after any event that changes the gamestate.
This commit is contained in:
parent
6b4e0fe4d0
commit
17ea65ce66
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
|||
#include "wml_exception.hpp"
|
||||
#include "play_controller.hpp"
|
||||
#include "persist_var.hpp"
|
||||
#include "whiteboard/manager.hpp"
|
||||
|
||||
#include <boost/scoped_ptr.hpp>
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
@ -3427,6 +3428,7 @@ namespace game_events {
|
|||
commit();
|
||||
}
|
||||
|
||||
resources::whiteboard->on_gamestate_change();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue