pawker/app/scene.rb
def tick_with_defer(args)
    if @defer
      @defer_since ||= args.state.tick_count

      if (@defer_since + @defer) >= args.state.tick_count
        @defer = nil
      end

      return
    end

    @ticks_elapsed += 1

    tick(args)
  end
# Using this we can now queue multiple scenes
Using this we can now queue multiple scenes
Using this we can now queue multiple scenes
def tick_with_defer(args)
    if @defer
      @defer_since ||= args.state.tick_count
      if (@defer_since + @defer) >= args.state.tick_count
        @defer = nil
      end
      return
    end
    @ticks_elapsed += 1
    tick(args)
  end
def tick_with_defer ( args ) if @defer @defer_since ||= args . state . tick_count if ( @defer_since + @defer ) >= args . state . tick_count @defer = nil end return end @ticks_elapsed += 1 tick ( args ) end
Using this we can now queue multiple scenes
Using this we can now queue multiple scenes
args