mirror of
https://github.com/p2r3/bareiron.git
synced 2025-10-02 07:35:08 +02:00
use global tick counter to handle regular events at different rates
This commit is contained in:
@@ -30,6 +30,7 @@ uint32_t world_seed = 0xA103DE6C;
|
||||
uint32_t rng_seed = 0xE2B9419;
|
||||
|
||||
uint16_t world_time = 0;
|
||||
uint32_t server_ticks = 0;
|
||||
|
||||
char motd[] = { "A bareiron server" };
|
||||
uint8_t motd_len = sizeof(motd) - 1;
|
||||
|
Reference in New Issue
Block a user