Round of small bugfixes (#14160)

This commit is contained in:
Doxxmedearly
2022-06-03 12:58:42 +02:00
committed by GitHub
parent 6801b81be2
commit 23bc71bd2f
8 changed files with 81 additions and 66 deletions
@@ -184,7 +184,7 @@
/obj/item/anodevice/proc/UpdateSprite()
if(!inserted_battery)
icon_state = "anodev"
icon_state = initial(icon_state)
return
var/p = (inserted_battery.stored_charge/inserted_battery.capacity)*100
p = min(p, 100)