Skip to content

Commit

Permalink
mtbf: remove dot and decimal places if existing (#141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gordon-Dry authored and steamport committed Jul 14, 2018
1 parent f9aca73 commit b587319
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions GameData/Kerbalism/System/Reliability.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
@mtbf_nerf *= #$extra_mass$
@mtbf /= #$mtbf_nerf$
@mtbf /= 89 // just a good plain Fibonacci number
@mtbf ^= :\.\d+$:: // remove dot and decimal places if existing
}
}

Expand Down Expand Up @@ -918,6 +919,7 @@
@mtbf_nerf *= #$extra_mass$
@mtbf /= #$mtbf_nerf$
@mtbf /= 89 // just a good plain Fibonacci number
@mtbf ^= :\.\d+$:: // remove dot and decimal places if existing
}
}

Expand Down

0 comments on commit b587319

Please sign in to comment.