Skip to content

Commit

Permalink
Add missing OOP method for setDiscordRichPresenceEndTime
Browse files Browse the repository at this point in the history
  • Loading branch information
Lpsd committed Oct 12, 2023
1 parent 1fa482e commit a872851
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Client/mods/deathmatch/logic/luadefs/CLuaDiscordDefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ void CLuaDiscordDefs::AddClass(lua_State* luaVM)
lua_classfunction(luaVM, "setSmallAsset", "setDiscordRichPresenceSmallAsset");
lua_classfunction(luaVM, "setButton", "setDiscordRichPresenceButton");
lua_classfunction(luaVM, "setStartTime", "setDiscordRichPresenceStartTime");
lua_classfunction(luaVM, "setEndTime", "setDiscordRichPresenceEndTime");
lua_classfunction(luaVM, "setPartySize", "setDiscordRichPresencePartySize");

lua_classfunction(luaVM, "isConnected", "isDiscordRichPresenceConnected");
Expand Down

0 comments on commit a872851

Please sign in to comment.