Fixing a few issues with the nutrition adjustment proc and the circuit printer. (#12320)

This commit is contained in:
Ghom
2020-05-21 19:10:59 +02:00
committed by GitHub
parent e3922400a1
commit 8a0ed38a58
4 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -73,7 +73,7 @@
if(!material_amount)
to_chat(user, "<span class='warning'>[I] does not contain sufficient materials to be accepted by [parent].</span>")
return
if(!has_space(material_amount))
if((!precise_insertion || !GLOB.typecache_stack[I]) && !has_space(material_amount))
to_chat(user, "<span class='warning'>[parent] has not enough space. Please remove materials from [parent] in order to insert more.</span>")
return
user_insert(I, user)