We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ead9b5 commit 234c30cCopy full SHA for 234c30c
VCMP-LUA/vcmpWrap/Classes/Server.cpp
@@ -1331,9 +1331,7 @@ void Server::Init(sol::state* L) {
1331
);
1332
1333
#ifdef _x32
1334
- ServerTable["tickCount"] = []() -> uint32_t {
1335
- return static_cast<uint32_t>(GetCurrentSysTime());
1336
- };
+ usertype["tick"] = sol::property([]() -> uint32_t { return static_cast<uint32_t>(GetCurrentSysTime()) });
1337
#else
1338
usertype["tick"] = sol::property([]() -> uint64_t { return GetCurrentSysTime(); });
1339
#endif
0 commit comments