mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 01:52:15 +00:00
Mining Fixes (#9330)
This commit is contained in:
@@ -34,6 +34,10 @@
|
||||
stacktype = type
|
||||
if (amount)
|
||||
src.amount = amount
|
||||
if(amount > max_amount)
|
||||
var/amount_overdue = max_amount - amount
|
||||
new type(get_turf(src), amount_overdue)
|
||||
amount -= amount_overdue
|
||||
|
||||
if (icon_has_variants && !item_state)
|
||||
item_state = icon_state
|
||||
|
||||
Reference in New Issue
Block a user