Fixy borg rcd (#94047)

## About The Pull Request

Fixes #94046

Pretty self explanatory fix

## Changelog

🆑 Melbert
fix: Fixes borg RCD
/🆑
This commit is contained in:
MrMelbert
2025-11-20 18:33:35 -07:00
committed by GitHub
parent cf9bda0d42
commit 09c4d53cd8
+1 -1
View File
@@ -497,7 +497,7 @@
if(!borgy.cell)
balloon_alert(user, "no cell found!")
return FALSE
if(borgy.cell.charge >= (amount * energyfactor))
if(borgy.cell.charge < (amount * energyfactor))
balloon_alert(user, "insufficient charge!")
return FALSE
return dry_run ? TRUE : borgy.cell.use(amount * energyfactor)