diff options
author | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2018-11-03 15:39:14 +0100 |
---|---|---|
committer | Benoit Germain <b n t DOT g e r m a i n AT g m a i l DOT c o m> | 2018-11-03 15:39:14 +0100 |
commit | ebaadef11d4cb55a5dde78ed392b7d7e4ad15030 (patch) | |
tree | 0c91345c4e21f5dd1c9006d8545684442aa97e5a /src/universe.h | |
parent | 94c794c8e06a848868509927eefde0741cd8bbe6 (diff) | |
download | lanes-ebaadef11d4cb55a5dde78ed392b7d7e4ad15030.tar.gz lanes-ebaadef11d4cb55a5dde78ed392b7d7e4ad15030.tar.bz2 lanes-ebaadef11d4cb55a5dde78ed392b7d7e4ad15030.zip |
fix an internal error trying to call on_state_create in a lane without any libs loaded
always duplicate the config structure in new lanes even when no
libraries are initialized by the generator
Diffstat (limited to 'src/universe.h')
-rw-r--r-- | src/universe.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/universe.h b/src/universe.h index a75cead..359dc90 100644 --- a/src/universe.h +++ b/src/universe.h | |||
@@ -32,6 +32,8 @@ struct s_Universe | |||
32 | // for verbose errors | 32 | // for verbose errors |
33 | bool_t verboseErrors; | 33 | bool_t verboseErrors; |
34 | 34 | ||
35 | bool_t demoteFullUserdata; | ||
36 | |||
35 | lua_CFunction on_state_create_func; | 37 | lua_CFunction on_state_create_func; |
36 | 38 | ||
37 | Keepers* keepers; | 39 | Keepers* keepers; |