Path check autoexec.lua
This commit is contained in:
parent
3a18f41637
commit
ae3271d98a
|
@ -291,7 +291,9 @@ void smlua_init(void) {
|
|||
|
||||
#ifdef DEVELOPMENT
|
||||
// autoexec
|
||||
smlua_exec_file("autoexec.lua");
|
||||
if (path_exists("autoexec.lua")) {
|
||||
smlua_exec_file("autoexec.lua");
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue