From 30545b8f7c6ac9859d7512f832afe0ee57925190 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 24 Dec 2016 14:02:33 +0100 Subject: [PATCH] Changed: Temporary comment Lua functions registration (crash when reselect characters) --- code/ryzom/client/src/main_loop.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/code/ryzom/client/src/main_loop.cpp b/code/ryzom/client/src/main_loop.cpp index 565c23311..fafae2b45 100644 --- a/code/ryzom/client/src/main_loop.cpp +++ b/code/ryzom/client/src/main_loop.cpp @@ -2512,8 +2512,10 @@ bool mainLoop() // R2ED enabled ? R2::getEditor().autoConfigInit(IsInRingSession); - if (!IsInRingSession) - R2::getEditor().registerLuaFunc(); + +// TODO: temporary commented, CEditor must be initialized before to call next lines +// if (!IsInRingSession) +// R2::getEditor().registerLuaFunc(); CurrSeason = computeCurrSeason();