mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-22 08:01:06 +00:00
Ports some StonedMC performance tweaks from /tg/, should reduce the amount of fighting between BYOND sleeps and the MC.
19 lines
270 B
Plaintext
19 lines
270 B
Plaintext
#define SECOND *10
|
|
#define SECONDS *10
|
|
|
|
#define MINUTE *600
|
|
#define MINUTES *600
|
|
|
|
#define HOUR *36000
|
|
#define HOURS *36000
|
|
|
|
#define DAY *864000
|
|
#define DAYS *864000
|
|
|
|
|
|
#define TICKS *world.tick_lag
|
|
|
|
#define DS2TICKS(DS) (DS/world.tick_lag)
|
|
|
|
#define TICKS2DS(T) (T TICKS)
|