From adaa36dbec1ce9aaafd61873b9d3d898a8c240cf Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Thu, 11 Apr 2024 15:14:52 +0200 Subject: Bring all interesting fixes from the C++ implementation back into the C implementation --- src/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/state.c') diff --git a/src/state.c b/src/state.c index 21ca397..32e5b47 100644 --- a/src/state.c +++ b/src/state.c @@ -205,7 +205,7 @@ static void copy_one_time_settings( Universe* U, lua_State* L, lua_State* L2) REGISTRY_GET( L, CONFIG_REGKEY); // config // copy settings from from source to destination registry - if( luaG_inter_move( U, L, L2, 1, eLM_LaneBody) < 0) // // config + if( luaG_inter_move( U, L, L2, 1, eLM_LaneBody) != eICR_Success) // // config { (void) luaL_error( L, "failed to copy settings when loading lanes.core"); } -- cgit v1.2.3-55-g6feb