Fix issue with get system milliseconds

This commit is contained in:
FutureRave 2022-05-07 01:17:15 +01:00
parent 6737106785
commit ae8580079f
No known key found for this signature in database
GPG Key ID: E883E2BC9657D955

View File

@ -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;