Update fire algorithm

This commit is contained in:
AlberLC
2022-08-16 21:04:53 +02:00
parent 66d555e20f
commit 70b5103a41

View File

@@ -106,7 +106,7 @@ class FlanaDiscBot(DiscordBot, FlanaBot):
if not self.heat_level:
return
self.heat_level -= 0.5
if self.heating > len(HEAT_NAMES):
if self.heating > len(HEAT_NAMES) - 1:
self.heat_level = int(self.heat_level)
if not self.heat_level.is_integer():