Whiteboard: also validate after any event that changes the gamestate.

This commit is contained in:
Gabriel Morin 2010-07-30 04:12:25 +00:00
parent 6b4e0fe4d0
commit 17ea65ce66

View file

@ -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;
}