diff options
Diffstat (limited to 'src/server.cpp')
-rw-r--r-- | src/server.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server.cpp b/src/server.cpp index 67910e53a..09b3f2c40 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1184,9 +1184,7 @@ void Server::setTimeOfDay(u32 time) void Server::onMapEditEvent(MapEditEvent *event) { - if(m_ignore_map_edit_events) - return; - if(m_ignore_map_edit_events_area.contains(event->getArea())) + if (m_ignore_map_edit_events_area.contains(event->getArea())) return; MapEditEvent *e = event->clone(); m_unsent_map_edit_queue.push(e); |