<?xml version="1.0" encoding="UTF-8"?>
<Run>
  <GameIcon />
  <GameName>
  </GameName>
  <CategoryName><%= @run.to_s %></CategoryName>
  <Offset><%= Time.at(@run.offset || 0).utc.strftime("%H:%M:%S").strip %></Offset>
  <AttemptCount><%= @run.attempts || 0 %></AttemptCount>
  <RunHistory />
  <Segments>
  <% @run.splits.each do |split| %>
    <Segment>
      <Icon />
      <Name><%= split.name %></Name>
      <PersonalBestSplitTime><%= Time.at(split.finish_time || 0).utc.strftime("%H:%M:%S.%7N").strip %></PersonalBestSplitTime>
      <BestSegmentTime><%= Time.at(split.best || 0).utc.strftime("%H:%M:%S.%7N").strip %></BestSegmentTime>
      <SegmentHistory />
    </Segment>
  <% end %>
  </Segments>
</Run>

<?xml version="1.0" encoding="UTF-8"?>
<Run>
  <GameIcon />
  <GameName>
  </GameName>
  <CategoryName><%= @run.to_s %></CategoryName>
  <Offset><%= Time.at(@run.offset || 0).utc.strftime("%H:%M:%S").strip %></Offset>
  <AttemptCount><%= @run.attempts || 0 %></AttemptCount>
  <RunHistory />
  <Segments>
  <% @run.segments.each do |segment| %>
    <Segment>
      <Icon />
      <Name><%= segment.name %></Name>
      <PersonalBestSplitTime><%= Time.at((segment.end_milliseconds || 0) / 1000).utc.strftime("%H:%M:%S.%7N").strip %></PersonalBestSplitTime>
      <BestSegmentTime><%= Time.at((segment.shortest_duration_milliseconds || 0) / 1000).utc.strftime("%H:%M:%S.%7N").strip %></BestSegmentTime>
      <SegmentHistory />
    </Segment>
  <% end %>
  </Segments>
</Run>

Fix a LiveSplit exporting issue
Fix a LiveSplit exporting issue
