Fixed crash when the Compiler rewrites a door event

This commit is contained in:
Maruno17
2022-07-06 18:43:52 +01:00
parent 2976ee93ce
commit a85f672c73

View File

@@ -792,7 +792,7 @@ module Compiler
)
push_event(list, 208, [0]) # Change Transparent Flag (invisible)
push_script(list, "Followers.follow_into_door")
push_event(list, 210, [], indent) # Wait for Move's Completion
push_event(list, 210, []) # Wait for Move's Completion
push_move_route_and_wait( # Move Route for door closing
list, 0,
[PBMoveRoute::Wait, 2,