Skip to content

Commit

Permalink
Merge branch 'master' into marking_vulp
Browse files Browse the repository at this point in the history
  • Loading branch information
Schrodinger71 authored Jul 29, 2024
2 parents a717d56 + 0cd1a2c commit 2011bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Content.Server/GameTicking/GameTicker.Player.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ private async void PlayerStatusChanged(object? sender, SessionStatusEventArgs ar

var record = await _dbManager.GetPlayerRecordByUserId(args.Session.UserId);
var firstConnection = record != null &&
Math.Abs((record.FirstSeenTime - record.LastSeenTime).TotalMinutes) < 1;
Math.Abs((record.FirstSeenTime - record.LastSeenTime).TotalMinutes) < 60; //для облегчении слежки модерации за новичками, ADT

_chatManager.SendAdminAnnouncement(firstConnection
? Loc.GetString("player-first-join-message", ("name", args.Session.Name))
Expand Down
2 changes: 1 addition & 1 deletion Resources/Locale/ru-RU/game-ticking/game-ticker.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ game-ticker-no-map-selected = [color=red]Карта ещё не выбрана![
game-ticker-player-no-jobs-available-when-joining = При попытке присоединиться к игре ни одной роли не было доступно.
# Displayed in chat to admins when a player joins
player-join-message = Игрок { $name } зашёл!
player-first-join-message = Игрок { $name } зашёл на сервер впервые.
player-first-join-message = { $name } ВНИМАНИЕ НОВИЧОК зашел на сервер!!! Администрации быть бдительней :О
# Displayed in chat to admins when a player leaves
player-leave-message = Игрок { $name } вышел!
latejoin-arrival-announcement =
Expand Down

0 comments on commit 2011bfd

Please sign in to comment.