Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/applicationinterface.cc')
-rw-r--r--src/core/applicationinterface.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/applicationinterface.cc b/src/core/applicationinterface.cc
index 561bf94..6add2e0 100644
--- a/src/core/applicationinterface.cc
+++ b/src/core/applicationinterface.cc
@@ -110,12 +110,12 @@ void ApplicationInterface::init()
filesystem::init();
// register our functions
- func_register("print", func_print);
- func_register("help", func_help);
- func_register("quit", func_quit);
+ func::add("print", func_print);
+ func::add("help", func_help);
+ func::add("quit", func_quit);
- func_register("connect", func_connect);
- func_register("disconnect", func_disconnect);
+ func::add("connect", func_connect);
+ func::add("disconnect", func_disconnect);
if (game())
game()->connected = false;