This commit is contained in:
flswld committed 2023-11-14 01:25:48 +08:00
1 parent 0ae134758a
commit 1af5fb128b
37 files changed
+907 -713

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ func forEachPlayerSceneGroup(player *model.Player, handleFunc func(suiteConfig *
if world == nil {
return
}
scene := world.GetSceneById(player.SceneId)
scene := world.GetSceneById(player.GetSceneId())
for groupId, group := range scene.GetAllGroup() {
groupConfig := gdconf.GetSceneGroup(int32(groupId))
if groupConfig == nil {
@@ -32,7 +32,7 @@ func forEachPlayerSceneGroupTrigger(player *model.Player, handleFunc func(trigge
if world == nil {
return
}
scene := world.GetSceneById(player.SceneId)
scene := world.GetSceneById(player.GetSceneId())
for groupId, group := range scene.GetAllGroup() {
groupConfig := gdconf.GetSceneGroup(int32(groupId))
if groupConfig == nil {