Fixes Cyborgs becoming invisible once created by Machinists (#16413)

* fixes cyborg invisibility on creation

* adds the changelog
This commit is contained in:
io
2023-05-30 16:29:37 +00:00
committed by GitHub
parent 4e39aa496f
commit 77a88f69bc
2 changed files with 9 additions and 3 deletions

View File

@@ -222,8 +222,8 @@
O.job = "AI Shell"
O.cell = chest.cell
O.cell.forceMove(O)
W.forceMove(O)
W.forceMove(O)
if(O.cell)
var/datum/robot_component/cell_component = O.components["power cell"]
cell_component.wrapped = O.cell
@@ -284,7 +284,7 @@
user.drop_from_inventory(M, O)
O.mmi = W
O.set_invisibility(101)
O.set_invisibility(0)
O.custom_name = created_name
O.updatename("Default")