mirror of
https://github.com/rafi1212122/PemukulPaku
synced 2025-12-13 08:54:36 +01:00
target command & weather api
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using Common;
|
||||
using Common.Resources.Proto;
|
||||
using Common.Utils;
|
||||
using PemukulPaku.GameServer.Commands;
|
||||
using PemukulPaku.GameServer.Game;
|
||||
|
||||
namespace PemukulPaku.GameServer
|
||||
@@ -96,6 +97,8 @@ namespace PemukulPaku.GameServer
|
||||
Player.SaveAll();
|
||||
c.Debug("Player data saved to database");
|
||||
c.Warn($"{Id} disconnected");
|
||||
|
||||
if (ReadLine.GetInstance().session == this) { ReadLine.GetInstance().session = null; }
|
||||
Server.GetInstance().Sessions.Remove(Id);
|
||||
Server.GetInstance().LogClients();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user