From ae8580079f0874ee78c9ec906d90c01b4f3f002a Mon Sep 17 00:00:00 2001 From: FutureRave Date: Sat, 7 May 2022 01:17:15 +0100 Subject: [PATCH] Fix issue with get system milliseconds --- src/Components/Modules/Script.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/Components/Modules/Script.cpp b/src/Components/Modules/Script.cpp index cb4dc4e9..dbe79ccc 100644 --- a/src/Components/Modules/Script.cpp +++ b/src/Components/Modules/Script.cpp @@ -564,14 +564,6 @@ namespace Components }); // System time - Script::AddFunction("GetSystemTime", [] // gsc: GetSystemTime() - { - SYSTEMTIME time; - GetSystemTime(&time); - - Game::Scr_AddInt(time.wSecond); - }); - Script::AddFunction("GetSystemMilliseconds", [] // gsc: GetSystemMilliseconds() { SYSTEMTIME time;