Update core/engine.php

Missing closing statement