修复getTrigger

This commit is contained in:
kuangshen04 2024-02-02 22:16:52 +08:00
parent 995e2c66a5
commit b360822ddf
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ export class GameEvent {
}
}
getTrigger() {
return this.getParent('arrangeTrigger')._trigger;
return this.getParent(e => e._trigger, false, true)._trigger;
}
getRand(name) {
if (name) {