Skip to content

Commit

Permalink
print saved nade message to chat
Browse files Browse the repository at this point in the history
  • Loading branch information
CHR15cs committed Jan 28, 2024
1 parent d3d7258 commit 1d2a978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CSPracc/Managers/ProjectileManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ public void SaveSnapshot(CCSPlayerController player,string args)
snapshotToAdd.Title = name;
int newid = CurrentProjectileStorage.Add(snapshotToAdd);
lastSavedNade.SetOrAdd(player.SteamID, newid);
player.PrintToCenter($"Successfully added grenade \"{name}\" at id: {newid}");
player.ChatMessage($"Successfully added grenade {ChatColors.Blue}\"{name}\"{ChatColors.White} at id: {ChatColors.Green}{newid}");
}

/// <summary>
Expand Down

0 comments on commit 1d2a978

Please sign in to comment.