mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-11 18:33:36 +00:00
Merge pull request #13865 from Citadel-Station-13/silicons-patch-41
cell/proc/give() no longer lets you give negative charge
This commit is contained in:
@@ -86,6 +86,8 @@
|
||||
|
||||
// recharge the cell
|
||||
/obj/item/stock_parts/cell/proc/give(amount)
|
||||
if(amount < 0)
|
||||
return
|
||||
if(rigged && amount > 0)
|
||||
explode()
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user