Skip to content

Commit

Permalink
Merge pull request #39900 from RedShakespeare/syntax
Browse files Browse the repository at this point in the history
Fixes syntax error
  • Loading branch information
ifreund authored Apr 25, 2020
2 parents 4e59722 + 5eb1dc3 commit d73416c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player_hardcoded_effects.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ void player::hardcoded_effects( effect &it )
}
if( dur > 4_hours ) {
// 8 teleports
if( one_turn_in( 1000_minutes - dur ) ) && !has_effect( effect_valium ) ) {
if( one_turn_in( 1000_minutes - dur ) && !has_effect( effect_valium ) ) {
add_effect( effect_shakes, rng( 4_minutes, 8_minutes ) );
}
if( one_turn_in( 1200_minutes - dur ) ) {
Expand Down

0 comments on commit d73416c

Please sign in to comment.