Skip to content

Commit

Permalink
ChaosMod: Don't expose CreateHostilePed to Lua scripting engine
Browse files Browse the repository at this point in the history
  • Loading branch information
pongo1231 committed Mar 7, 2023
1 parent de787fa commit a9a5578
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ChaosMod/LuaScripts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,6 @@ static void ParseScriptRaw(std::string scriptName, std::string_view script, Pars
lua["GetGameplayCamOffsetInWorldCoords"] = Util::GetGameplayCamOffsetInWorldCoords;
lua["GetCoordsFromGameplayCam"] = Util::GetCoordsFromGameplayCam;

lua["CreateHostilePed"] = CreateHostilePed;

lua["GetCoordAround"] = GetCoordAround;

lua["IsWeaponShotgun"] = Util::IsWeaponShotgun;
Expand Down

0 comments on commit a9a5578

Please sign in to comment.