Skip to content

Commit

Permalink
Remove old functions from CLuaCompatibilityDefs.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico8340 committed Feb 18, 2024
1 parent 122df1a commit a2708dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ void CLuaCompatibilityDefs::LoadFunctions()
{"getControlState", CLuaPedDefs::GetPedControlState},
{"setCameraShakeLevel", ArgumentParserWarn<false, CLuaCameraDefs::SetCameraDrunkLevel>},
{"getCameraShakeLevel", ArgumentParserWarn<false, CLuaCameraDefs::GetCameraDrunkLevel>},
{"base64Encode", CLuaCryptDefs::EncodeString},
{"base64Decode", CLuaCryptDefs::DecodeString},
};

// Add functions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,6 @@ void CLuaCompatibilityDefs::LoadFunctions()
lua_pushboolean(luaVM, false);
return 1;
}},

// Base Encoding & Decoding
{"base64Encode", CLuaCryptDefs::EncodeString},
{"base64Decode", CLuaCryptDefs::DecodeString},
};

// Add functions
Expand Down

0 comments on commit a2708dd

Please sign in to comment.