Update to SQUIRREL 3.0.4
[supertux.git] / src / scripting / squirrel_util.cpp
index d3e50e0..5743f75 100644 (file)
@@ -89,7 +89,7 @@ void init_squirrel(bool enable_debugger)
   sq_pop(global_vm, 1);
 
   // register print function
-  sq_setprintfunc(global_vm, printfunc);
+  sq_setprintfunc(global_vm, printfunc, printfunc);
   // register default error handlers
   sqstd_seterrorhandlers(global_vm);