builtin/ground_plane_lighting: Add missing event routing to instances

master
Perttu Ahola 2014-10-28 14:04:15 +02:00
parent a32e09b9a7
commit 8172d15abc
1 changed files with 5 additions and 0 deletions

View File

@ -399,6 +399,11 @@ struct Module: public interface::Module, public ground_plane_lighting::Interface
client_file::FilesTransmitted)
EVENT_TYPEN("voxelworld:node_volume_updated",
on_node_volume_updated, voxelworld::NodeVolumeUpdated)
for(auto &pair : m_instances){
up_<CInstance> &instance = pair.second;
instance->event(type, p);
}
}
void on_start()