Skip to content

Commit

Permalink
Fix #219 PlayStation user canot open UI bug (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
dadodasyra authored Jul 17, 2023
1 parent 75cfeee commit 5489dd3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(){
}));
$this->register(DeviceOS::PLAYSTATION, new ClosurePlayerNetworkHandler(static function(Closure $then) : NetworkStackLatencyEntry{
$timestamp = mt_rand();
return new NetworkStackLatencyEntry($timestamp, $then, $timestamp * 1000);
return new NetworkStackLatencyEntry($timestamp * 1000000, $then, $timestamp * 1000);
}));
}

Expand All @@ -38,4 +38,4 @@ public function register(int $os_id, PlayerNetworkHandler $handler) : void{
public function get(int $os_id) : PlayerNetworkHandler{
return $this->game_os_handlers[$os_id] ?? $this->default;
}
}
}

0 comments on commit 5489dd3

Please sign in to comment.