我记得最新版openomsi的changelog里说把这个bug修了
Valiant Citybus doors 2 and 3 work again: an {end} inside an open {if} now leaves the script block only when execution reaches it. The compiler keeps the following {else} instead of discarding the door logic (#1606, @turbo-devv).