mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes some circuit bugs.
This commit is contained in:
@@ -339,7 +339,7 @@
|
||||
if(battery)
|
||||
var/lost = battery.use(amount * CELLRATE)
|
||||
net_power -= lost
|
||||
return TRUE
|
||||
return lost > 0
|
||||
return FALSE
|
||||
|
||||
// Ditto for giving.
|
||||
|
||||
Reference in New Issue
Block a user