mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-15 09:25:37 +02:00
Async environment for mods to do concurrent tasks (#11131)
This commit is contained in:
@@ -69,7 +69,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
|
||||
// Retrieve Environment pointer as `env` (no map lock)
|
||||
#define GET_PLAIN_ENV_PTR_NO_MAP_LOCK \
|
||||
Environment *env = (Environment *)getEnv(L); \
|
||||
Environment *env = getEnv(L); \
|
||||
if (env == NULL) \
|
||||
return 0
|
||||
|
||||
|
Reference in New Issue
Block a user