mirror of
https://github.com/Syping/ragephoto-cli.git
synced 2025-11-09 13:15:17 +01:00
fix json if condition in create command
This commit is contained in:
parent
6bf70113da
commit
470a1d68da
1 changed files with 2 additions and 2 deletions
|
|
@ -41,13 +41,13 @@ internal static class Program {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (photo.Format == PhotoFormat.GTA5) {
|
if (photo.Format == PhotoFormat.GTA5) {
|
||||||
photo.Json = json != null ?
|
photo.Json = json == null ?
|
||||||
InitializeJson(PhotoFormat.GTA5, photo, Random.Shared.Next(),
|
InitializeJson(PhotoFormat.GTA5, photo, Random.Shared.Next(),
|
||||||
DateTimeOffset.FromUnixTimeSeconds(Random.Shared.Next(1356998400, 1388534399))) :
|
DateTimeOffset.FromUnixTimeSeconds(Random.Shared.Next(1356998400, 1388534399))) :
|
||||||
UpdateSign(photo, photo.Json);
|
UpdateSign(photo, photo.Json);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
photo.Json = json != null ?
|
photo.Json = json == null ?
|
||||||
InitializeJson(PhotoFormat.RDR2, photo, Random.Shared.Next(),
|
InitializeJson(PhotoFormat.RDR2, photo, Random.Shared.Next(),
|
||||||
DateTimeOffset.FromUnixTimeSeconds(Random.Shared.NextInt64(-2240524800, -2208988801))) :
|
DateTimeOffset.FromUnixTimeSeconds(Random.Shared.NextInt64(-2240524800, -2208988801))) :
|
||||||
UpdateSign(photo, photo.Json);
|
UpdateSign(photo, photo.Json);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue