Skip to content

Commit

Permalink
VR (RE2/3): Remove unused code causing startup errors
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Dec 1, 2024
1 parent e55866d commit 22d24b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions scripts/re2_vr_melee.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ local function get_gameobject(component)
return component:call("get_GameObject")
end

local camera = sdk.get_primary_camera()
local camera_gameobject = camera:call("get_GameObject")

local melee_type = sdk.find_type_definition(sdk.game_namespace("implement.Melee"))

local function is_weapon_melee(weapon)
Expand Down

0 comments on commit 22d24b8

Please sign in to comment.