diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/gameserver.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/gameserver.h b/src/core/gameserver.h index daf1abb..f05e6c6 100644 --- a/src/core/gameserver.h +++ b/src/core/gameserver.h @@ -38,6 +38,9 @@ public: /// show the current time void showtime(); + /// current server game time + inline float time() const { return server_time; } + /*----- mutators -------------------------------------------------- */ /// is called when a player connects to the game server |