Skip to content

Commit

Permalink
Fix Jumpy Lobby Cam (#495)
Browse files Browse the repository at this point in the history
  • Loading branch information
RimiNosha authored Dec 23, 2023
1 parent 24d5089 commit 8887c22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion code/controllers/subsystem/lobby_eye_ss.dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SUBSYSTEM_DEF(lobby_eye)
///how many tiles the camera will do
var/path_target = 30
///how many tiles into invalid areas can we go
var/invalid_reset = 5
var/invalid_reset = 8
///the areas that are considered invalid
var/static/list/invalid_areas = list(/area/space, /area/icemoon)
///how fast the camera will "move"
Expand Down
4 changes: 4 additions & 0 deletions code/modules/client/preferences/lobby_cam.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
alpha = 0
invisibility = INVISIBILITY_ABSTRACT

/obj/new_player_cam/New(loc, ...)
. = ..()
set_glide_size(4) // Fixes jumpy movement.

/datum/preference/toggle/lobby_cam
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
default_value = TRUE
Expand Down

0 comments on commit 8887c22

Please sign in to comment.