Cleanup of warnings
This commit is contained in:
@@ -404,7 +404,7 @@ public class GameController(
|
||||
}
|
||||
|
||||
// Two day post-profile creation
|
||||
if (currentTimeStamp > timeStampProfileCreated + oneDaySeconds * 2)
|
||||
if (currentTimeStamp > timeStampProfileCreated + (oneDaySeconds * 2))
|
||||
{
|
||||
giftService.SendPraporStartingGift(pmcProfile.SessionId.Value, 2);
|
||||
}
|
||||
|
||||
@@ -846,7 +846,7 @@ public class HideoutController(
|
||||
|
||||
// Build an array of the tools that need to be returned to the player
|
||||
List<List<Item>> toolsToSendToPlayer = [];
|
||||
pmcData.Hideout.Production.TryGetValue(prodId.Value, out Production hideoutProduction);
|
||||
pmcData.Hideout.Production.TryGetValue(prodId.Value, out var hideoutProduction);
|
||||
if (hideoutProduction.SptRequiredTools?.Count > 0)
|
||||
{
|
||||
foreach (var tool in hideoutProduction.SptRequiredTools)
|
||||
|
||||
Reference in New Issue
Block a user