Guest User

Untitled

a guest
Nov 23rd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. onCitiesSlide: function(e) {
  2. travel.updateStationsPos();
  3. if (this.isFactsEventRunning()) {
  4. merlin.act();
  5. } else {
  6. ...
  7. merlin.update({ "fact": fact, "city": city });
  8. this.finishCityEvent(fact);
  9. }
  10. }
  11. ...
  12. finishCityEvent: function(fact) {
  13. ...
  14. if (!!fact && nextSlideNum != currSlideNum) {
  15. facts_gallery.slideToFact(nextSlideNum);
  16. } else {
  17. merlin.act();
  18. }
  19. }
Add Comment
Please, Sign In to add comment