Unifying MMI creation on robot subtypes.

This commit is contained in:
MistakeNot4892
2023-09-02 22:11:14 +10:00
parent b0f2f4921d
commit 1cafe9ee21
13 changed files with 43 additions and 38 deletions
+1 -2
View File
@@ -117,11 +117,10 @@
if(!user.unEquip(W))
return
var/mob/living/silicon/robot/O = new product(get_turf(loc))
var/mob/living/silicon/robot/O = new product(get_turf(loc), FALSE, W)
if(!O)
return
O.mmi = W
O.invisibility = 0
O.custom_name = created_name
O.updatename("Default")