From 33f4f54de19233ade2bd338cc6e0f7184fd36b65 Mon Sep 17 00:00:00 2001 From: mniip Date: Sun, 18 Aug 2019 11:54:32 +0300 Subject: [PATCH] Fix --nolua compilation --- src/lua/LuaSmartRef.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lua/LuaSmartRef.cpp b/src/lua/LuaSmartRef.cpp index 7be6d4b55..24783e080 100644 --- a/src/lua/LuaSmartRef.cpp +++ b/src/lua/LuaSmartRef.cpp @@ -1,3 +1,4 @@ +#ifdef LUACONSOLE #include "LuaSmartRef.h" void LuaSmartRef::Clear() @@ -33,4 +34,4 @@ LuaSmartRef::operator bool() const { return ref != LUA_REFNIL; } - +#endif