修复除零异常

This commit is contained in:
flswld
2023-03-27 18:39:39 +08:00
parent fae84e0b07
commit f1a14ccf0e
3 changed files with 14 additions and 18 deletions

View File

@@ -353,7 +353,7 @@ func getSceneLuaConfigTable[T any](luaState *lua.LState, tableName string, objec
luaValue := luaState.GetGlobal(tableName)
table, ok := luaValue.(*lua.LTable)
if !ok {
logger.Info("get lua table error, table name: %v, lua type: %v", tableName, luaValue.Type().String())
logger.Debug("get lua table error, table name: %v, lua type: %v", tableName, luaValue.Type().String())
return true
}
tableObject := convLuaValueToGo(table)