mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Fix TC build after 7567cafec8
This commit is contained in:
@@ -123,7 +123,11 @@ namespace LuaGlobalFunctions
|
||||
*/
|
||||
int GetGameTime(Eluna* /*E*/, lua_State* L)
|
||||
{
|
||||
#ifdef TRINITY
|
||||
Eluna::Push(L, GameTime::GetGameTime());
|
||||
#else
|
||||
Eluna::Push(L, eWorld->GetGameTime());
|
||||
#endif
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user