• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Always night

Fare

Advanced OT User
Joined
Apr 3, 2008
Messages
2,387
Reaction score
151
Location
Ukraine
It's possible to make what my server will always have night? Or disable clients ambient light? I know it's possible, but cannot find where ;D

Thanks.
 
game.cpp

Code:
	light_hour_delta = 1440 * 10 / daycycle;
	light_hour = SUNRISE + (SUNSET - SUNRISE) / 2;
	lightlevel = LIGHT_LEVEL_DAY;
	light_state = LIGHT_STATE_DAY;

and

Code:
void Game::checkLight()

To edit ;p ( Don't have time to describe, but Hope you know ;<)
 
Back
Top