Fix Time being based on 30 minute hours.
This commit is contained in:
parent
915e791406
commit
4468a880d2
1 changed files with 1 additions and 1 deletions
|
|
@ -3146,7 +3146,7 @@ namespace TShockAPI
|
||||||
time += 4.5;
|
time += 4.5;
|
||||||
if (!Main.dayTime)
|
if (!Main.dayTime)
|
||||||
time += 15.0;
|
time += 15.0;
|
||||||
args.Player.SendInfoMessage("The current time is {0}:{1:D2}.", (int)Math.Floor(time), (int)Math.Round((time % 1.0) * 30.0));
|
args.Player.SendInfoMessage("The current time is {0}:{1:D2}.", (int)Math.Floor(time), (int)Math.Round((time % 1.0) * 60.0));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue