Merge pull request #258 from diamante0018/time

Fix issue with get system milliseconds
This commit is contained in:
Edo 2022-05-07 09:46:42 -04:00 committed by GitHub
commit 8578a936f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -564,14 +564,6 @@ namespace Components
}); });
// System time // System time
Script::AddFunction("GetSystemTime", [] // gsc: GetSystemTime()
{
SYSTEMTIME time;
GetSystemTime(&time);
Game::Scr_AddInt(time.wSecond);
});
Script::AddFunction("GetSystemMilliseconds", [] // gsc: GetSystemMilliseconds() Script::AddFunction("GetSystemMilliseconds", [] // gsc: GetSystemMilliseconds()
{ {
SYSTEMTIME time; SYSTEMTIME time;