aboutsummaryrefslogtreecommitdiff
path: root/src/shared/lua_api/load_phys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/lua_api/load_phys.cpp')
-rw-r--r--src/shared/lua_api/load_phys.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/shared/lua_api/load_phys.cpp b/src/shared/lua_api/load_phys.cpp
index c91396c..14a27ea 100644
--- a/src/shared/lua_api/load_phys.cpp
+++ b/src/shared/lua_api/load_phys.cpp
@@ -1,6 +1,8 @@
-#include "load_phys.hpp"
-
+#include "./load_phys.hpp"
+#include "./phys/bphysbox.hpp"
void loadPhysLibs(lua_State* L){
-
+ lua_newtable(L);//{}
+ lua_setglobal(L,"phys");
+ bphysbox_register(L);
}