fixes toggling flashlight removing bayonet overlay (#47053)

* fixes toggling flashlight removing bayonet overlay

* Update gun.dm

Removed useless if statement, was not needed and referenced something that wasn't intended.

His name was Jeremy Tidwell
This commit is contained in:
Kaffe-work
2019-10-14 12:04:45 +01:00
committed by 81Denton
parent ccf30df4c2
commit c8fe05ab1b

View File

@@ -482,6 +482,7 @@
flashlight_overlay.pixel_x = flight_x_offset
flashlight_overlay.pixel_y = flight_y_offset
add_overlay(flashlight_overlay, TRUE)
add_overlay(knife_overlay, TRUE)
else
set_light(0)
cut_overlays(flashlight_overlay, TRUE)