mirror of
https://github.com/IntQuant/noita_entangled_worlds.git
synced 2025-10-19 07:03:16 +00:00
actually be able to switch cameras with mouse
This commit is contained in:
parent
819b887db7
commit
ab8ed5c77a
1 changed files with 2 additions and 2 deletions
|
@ -365,12 +365,12 @@ local function update()
|
|||
teleport_to_next_hm()
|
||||
end
|
||||
|
||||
if ComponentGetValue2(state.control_component, "mButtonDownLeftClick") then
|
||||
if InputIsMouseButtonJustDown(1) then
|
||||
if not left_held then
|
||||
camera_player = camera_player - 1
|
||||
left_held = true
|
||||
end
|
||||
elseif ComponentGetValue2(state.control_component, "mButtonDownRightClick") then
|
||||
elseif InputIsMouseButtonJustDown(2) then
|
||||
if not right_held then
|
||||
camera_player = camera_player + 1
|
||||
right_held = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue