Skip to content

Commit

Permalink
Fixes vulture sniper rifle applying permanent nvg (#5341)
Browse files Browse the repository at this point in the history
# About the pull request

Fixes #5300 , scoping on vulture sniper rifle no longer applies a
permanent lighting buff.

# Explain why it's good for the game

bug bad


# Changelog

:cl:
fix: Fixes permanent lighting buff after using the vulture sniper rifle.
/:cl:
  • Loading branch information
Cthulhu80 committed Dec 31, 2023
1 parent 22b345e commit 7dd1f07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/projectiles/gun_attachables.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,7 @@ Defined in conflicts.dm of the #defines folder.
scoper.clear_fullscreen("vulture")
scoper.client.remove_from_screen(scope_element)
scoper.see_in_dark -= darkness_view
scoper.lighting_alpha = 127
scoper.lighting_alpha = LIGHTING_PLANE_ALPHA_VISIBLE
scoper.sync_lighting_plane_alpha()
QDEL_NULL(scope_element)
recalculate_scope_pos()
Expand Down

0 comments on commit 7dd1f07

Please sign in to comment.