Now cancels current path when exiting Replay Viewer

Disabled opening the inventory while in the Replay Viewer
This commit is contained in:
Marius Metzger
2015-03-31 18:52:17 +02:00
parent 5b859340fd
commit c23d2a0d0e
5 changed files with 20 additions and 9 deletions

View File

@@ -402,6 +402,8 @@ public class ReplaySender extends ChannelInboundHandlerAdapter {
try {
Packet p = ReplayFileIO.deserializePacket(ba);
if(p == null) return;
//If hurrying, ignore some packets, unless during Replay Path and *not* in initial hurry
if(hurryToTimestamp && (!ReplayHandler.isInPath() || (desiredTimeStamp-currentTimeStamp > 1000))) {