Start off newly generated worlds early at sunrise, 5:15am (#6211)
authorJRottm <30634967+JRottm@users.noreply.github.com>
Sat, 5 Aug 2017 19:08:21 +0000 (21:08 +0200)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Sat, 5 Aug 2017 19:08:21 +0000 (21:08 +0200)
commit8325d7f48230a653668eecf17652f9410510a3fd
tree671965ff92ce8f83c5755fedac0b96807acf1809
parent248a1a8d65c483edcab328d898cc570071d6a182
Start off newly generated worlds early at sunrise, 5:15am (#6211)

Gives starting singleplayer games this subtle "dawn of a new world" feel.
I would have set it even earlier (up to 4:45am), but I was worried that in
some pre-existing games the player could be overwhelmed by hostile
mobs right at the start, seriously changing gameplay.

It's just the default, individual games should be able to override it, and
for public servers it's irrelevant anyway, because only the first player to
set foot in the world will notice, and that's usually the server admin.
src/environment.h
src/serverenvironment.cpp