mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-24 13:38:41 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user