mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-04 14:22:26 +08:00
修复除零异常
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -239,7 +239,7 @@ func (g *GameDataConfig) loadGroup(group *Group, block *Block, sceneId int32, bl
|
||||
return
|
||||
}
|
||||
if len(suiteLuaTableList) == 0 {
|
||||
logger.Info("get suites object is nil, sceneId: %v, blockId: %v, groupId: %v", sceneId, blockId, groupId)
|
||||
// logger.Debug("get suites object is nil, sceneId: %v, blockId: %v, groupId: %v", sceneId, blockId, groupId)
|
||||
}
|
||||
group.SuiteList = make([]*Suite, 0)
|
||||
for _, suiteLuaTable := range suiteLuaTableList {
|
||||
|
||||
Reference in New Issue
Block a user