Skip to content

Commit

Permalink
Set time to night prior to /pumpkin
Browse files Browse the repository at this point in the history
  • Loading branch information
Zack Piispanen committed Oct 25, 2013
1 parent af5eb4e commit 360a177
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions TShockAPI/Commands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1676,6 +1676,8 @@ private static void Invade(CommandArgs args)

private static void PumpkinInvasion(CommandArgs args)
{
TSPlayer.Server.SetTime(false, 0.0);

int wave = 0;
if (args.Parameters.Count != 0)
int.TryParse(args.Parameters[0], out wave);
Expand Down

0 comments on commit 360a177

Please sign in to comment.