Skip to content

Commit

Permalink
Should fix hallucinations being permanent (#3445)
Browse files Browse the repository at this point in the history
<!-- Write **BELOW** The Headers and **ABOVE** The comments else it may
not be viewable. -->
<!-- You can view Contributing.MD for a detailed description of the pull
request process. -->

## About The Pull Request

Fixes #3435

Caps hallucination natural decay at 0 so it can't reach negative numbers
off dumb stuff and never actually stop doing stuff

## Changelog

:cl:
fix: hallucinations can no longer be permanent unless treated
/:cl:

<!-- Both :cl:'s are required for the changelog to work! You can put
your name to the right of the first :cl: if you want to overwrite your
GitHub username as author ingame. -->
<!-- You can use multiple of the same prefix (they're only used for the
icon ingame) and delete the unneeded ones. Despite some of the tags,
changelogs should generally represent how a player might be affected by
the changes rather than a summary of the PR's contents. -->

Signed-off-by: Theos <[email protected]>
  • Loading branch information
SomeguyManperson authored Sep 30, 2024
1 parent c170620 commit c22dce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/flufftext/Hallucination.dm
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ GLOBAL_LIST_INIT(hallucination_list, list(
if(!hallucination)
return

hallucination--
hallucination = max(hallucination - 1, 0)

if(world.time < next_hallucination)
return
Expand Down

0 comments on commit c22dce8

Please sign in to comment.