Skip to content

Commit

Permalink
tweak: reconnection timings
Browse files Browse the repository at this point in the history
  • Loading branch information
Bizzonium committed Aug 2, 2024
1 parent daa9ed4 commit e14cf63
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tgui/packages/tgui-panel/game/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
* @license MIT
*/

export const CONNECTION_LOST_AFTER = 45000;
export const CONNECTION_LOST_AFTER = 20000;
export const AUTO_RECONNECT_AFTER = 15000;
2 changes: 1 addition & 1 deletion tgui/packages/tgui-panel/game/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const gameMiddleware = (store) => {
return next(withTimestamp(action));
}
if (type === autoReconnect.type) {
Byond.command('.reconnect');
// Byond.command('.reconnect');
return;
}

Expand Down
4 changes: 2 additions & 2 deletions tgui/public/tgui-panel.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e14cf63

Please sign in to comment.