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:
DeltaFire
2020-12-25 19:46:16 +01:00
committed by GitHub

View File

@@ -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