diff --git a/apps/openmw-mp/Script/EventController.hpp b/apps/openmw-mp/Script/EventController.hpp index 598035707..4eb647965 100644 --- a/apps/openmw-mp/Script/EventController.hpp +++ b/apps/openmw-mp/Script/EventController.hpp @@ -85,17 +85,6 @@ public: bool isStoped() const {return _stop;} CIterator stopedAt() const { return lastCalled; } - auto get(const std::string &modname) - { - for(auto iter = functions.cbegin(); iter != functions.cend(); ++iter) - { - if(iter->first["ModName"]["name"] == modname) - return iter; - } - return functions.cend(); - } - - template void call(type_tag, Args&&... args) {