From c3ca4d96108bacdd43a15a993b0f548790680eb5 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 26 Nov 2013 01:07:18 -0500 Subject: [PATCH] FIx error with loading coroutine library --- sol/state.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sol/state.hpp b/sol/state.hpp index e7c68bb1..35f44964 100644 --- a/sol/state.hpp +++ b/sol/state.hpp @@ -93,7 +93,7 @@ public: luaL_requiref(L.get(), "package", luaopen_package, 1); break; case lib::coroutine: - luaL_requiref(L.get(), "coroutine", luaopen_base, 1); + luaL_requiref(L.get(), "coroutine", luaopen_coroutine, 1); break; case lib::string: luaL_requiref(L.get(), "string", luaopen_string, 1);