summaryrefslogtreecommitdiff
path: root/plugins/StartPosition/src/startposition.cpp
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-04-28 11:24:21 +0200
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-04-28 11:24:21 +0200
commitc10884bb4f55f5a56278eeb37d126786433b7396 (patch)
treef5b55eb2015fa5b7b44e7f2bb1c79b522180627f /plugins/StartPosition/src/startposition.cpp
parent5e61d6cc38062d88bcf0c7057b6c1c72cd265622 (diff)
StartPosition: fix broken hook (thx ghazan)
Diffstat (limited to 'plugins/StartPosition/src/startposition.cpp')
-rw-r--r--plugins/StartPosition/src/startposition.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/StartPosition/src/startposition.cpp b/plugins/StartPosition/src/startposition.cpp
index 26c845b5ca..d6927d0ee1 100644
--- a/plugins/StartPosition/src/startposition.cpp
+++ b/plugins/StartPosition/src/startposition.cpp
@@ -2,6 +2,9 @@
CMPlugin::CMPlugin() :
PLUGIN<CMPlugin>(MODULE_NAME)
+{}
+
+void CMPlugin::Init()
{
HookPluginEvent(ME_OPT_INITIALISE, &CMPlugin::OnOptionsInit);
}