Updated some bits.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4058 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -125,7 +125,7 @@ public class Communicator
|
||||
/**
|
||||
* Returns the time at which we last sent a packet to the server.
|
||||
*/
|
||||
internal function getLastWrite () :Number
|
||||
internal function getLastWrite () :uint
|
||||
{
|
||||
return _lastWrite;
|
||||
}
|
||||
@@ -135,7 +135,7 @@ public class Communicator
|
||||
*/
|
||||
internal function updateWriteStamp () :void
|
||||
{
|
||||
_lastWrite = new Date().getTime();
|
||||
_lastWrite = flash.util.getTimer();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -216,6 +216,6 @@ public class Communicator
|
||||
|
||||
protected var _socket :Socket;
|
||||
|
||||
protected var _lastWrite :Number;
|
||||
protected var _lastWrite :uint;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user