mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 20:17:15 +01:00
Adds stack amount check when loading materials into the exosuit fabricator. Fixes #7665
This commit is contained in:
@@ -826,7 +826,7 @@
|
||||
src.overlays += "fab-load-[material]"//loading animation is now an overlay based on material type. No more spontaneous conversion of all ores to metal. -vey
|
||||
sleep(10)
|
||||
|
||||
while(src.resources[material] < res_max_amount && stack)
|
||||
while(src.resources[material] < res_max_amount && stack.amount >= 1)
|
||||
src.resources[material] += amnt
|
||||
stack.use(1)
|
||||
count++
|
||||
|
||||
Reference in New Issue
Block a user