Skip to content

Commit

Permalink
[MIRROR] Removes night vision quirk (#2599)
Browse files Browse the repository at this point in the history
* Removes night vision quirk

* Modulariuzes Nightvision

* CI is going to complain that TG removed this

---------

Co-authored-by: Nick <[email protected]>
Co-authored-by: SomeRandomOwl <[email protected]>
  • Loading branch information
3 people authored and StealsThePRs committed May 21, 2024
1 parent 87c2e72 commit a5a0e46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/datum/quirk/night_vision/proc/refresh_quirk_holder_eyes()
var/mob/living/carbon/human/human_quirk_holder = quirk_holder
var/obj/item/organ/internal/eyes/eyes = human_quirk_holder.get_organ_by_type(/obj/item/organ/internal/eyes)
if(!eyes) // NOVA EDIT CHANGE - ORIGINAL: if(!eyes || eyes.lighting_cutoff)
if(!eyes)
return
// We've either added or removed TRAIT_NIGHT_VISION before calling this proc. Just refresh the eyes.
eyes.refresh()
2 changes: 1 addition & 1 deletion tgstation.dme
Original file line number Diff line number Diff line change
Expand Up @@ -1840,7 +1840,6 @@
#include "code\datums\quirks\positive_quirks\light_step.dm"
#include "code\datums\quirks\positive_quirks\mime_fan.dm"
#include "code\datums\quirks\positive_quirks\musician.dm"
#include "code\datums\quirks\positive_quirks\night_vision.dm"
#include "code\datums\quirks\positive_quirks\poster_boy.dm"
#include "code\datums\quirks\positive_quirks\self_aware.dm"
#include "code\datums\quirks\positive_quirks\settler.dm"
Expand Down Expand Up @@ -8004,6 +8003,7 @@
#include "modular_nova\modules\nanotrasen_rep\code\clothing.dm"
#include "modular_nova\modules\nanotrasen_rep\code\nanotrasen_consultant.dm"
#include "modular_nova\modules\new_cells\code\power_cell.dm"
#include "modular_nova\modules\night_vision\night_vision.dm"
#include "modular_nova\modules\novaya_ert\code\advanced_choice_beacon.dm"
#include "modular_nova\modules\novaya_ert\code\back.dm"
#include "modular_nova\modules\novaya_ert\code\belt.dm"
Expand Down

0 comments on commit a5a0e46

Please sign in to comment.