Skip to content

Commit

Permalink
bugfix: Farvision deactivate (#5814)
Browse files Browse the repository at this point in the history
* bugfix

* 12312321

* Revert "12312321"

This reverts commit 1d87a2f.

* Revert "bugfix"

This reverts commit 790176b.

* farvision bugfix

* bugfix of bugfix

* bugfix of bugfix 2.0

* 232132142132

* Update code/game/dna/genes/powers.dm

Co-authored-by: Aziz Chynaliev <[email protected]>

* ыапывафвыав

---------

Co-authored-by: Aziz Chynaliev <[email protected]>
  • Loading branch information
Anorak2024 and Bizzonium authored Aug 26, 2024
1 parent 31cf0cd commit 16d3a5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/dna/genes/powers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -239,5 +239,7 @@

/datum/dna/gene/basic/farvision/deactivate(mob/living/mutant, flags)
. = ..()
if(mutant.client)
mutant.client.SetView(mutant.client.prefs.viewrange)
mutant.RemoveSpell(/obj/effect/proc_holder/spell/view_range/genetic)

0 comments on commit 16d3a5c

Please sign in to comment.