evtl fix payday
This commit is contained in:
@@ -2719,9 +2719,12 @@ namespace ReallifeGamemode.Server.Commands
|
||||
return;
|
||||
}
|
||||
|
||||
foreach (var target in NAPI.Pools.GetAllPlayers().Select(c => c.GetUser()))
|
||||
foreach (var target in NAPI.Pools.GetAllPlayers())
|
||||
{
|
||||
Economy.SetPaycheck(target.Player, target.Wage);
|
||||
if (target.IsLoggedIn())
|
||||
{
|
||||
Economy.SetPaycheck(target);
|
||||
}
|
||||
}
|
||||
|
||||
ChatService.SendMessage(player, "~b~[ADMIN]~s~ Du hast ein Payday gedroppt.");
|
||||
|
||||
Reference in New Issue
Block a user