Well, gamemode.txt isn't supposed to execute it. It gets executed automatically because it's a server.cs in a server add-on.
I tried it at the campus and you're right. When I get home, I'll check in my PC for a workaround. I'm thinking about trying to schedule the daycycle to, say, the next frame after the first player enters the game. As in, using the following code:
$FirstJoin = true;
package autoAdminCheck
{
function gameConnection::AutoAdminCheck(%client) {
Parent::AutoAdminCheck(%client);
if($firstJoin) {
$firstJoin = false;
schedule(0,0,"$EnvGuiServer::DayLength=86400");
}
}
};
activatePackage(autoAdminCheck);