Commit 1c3a6fc8 authored by pfyy's avatar pfyy Committed by Melledy
Browse files

partial fix of dungeon

parent a25c6812
......@@ -310,6 +310,7 @@ public class SceneScriptManager {
private void realCallEvent(int eventType, ScriptArgs params) {
try {
ScriptLoader.getScriptLib().setSceneScriptManager(this);
Set<SceneTrigger> relevantTriggers = new HashSet<>();
if (eventType == EventType.EVENT_ENTER_REGION || eventType == EventType.EVENT_LEAVE_REGION) {
List<SceneTrigger> relevantTriggersList = this.getTriggersByEvent(eventType).stream()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment