Fixes extremely thicc robots (#35722)

* Fixes extremely fat robots

* grasp
This commit is contained in:
Dax Dupont
2018-02-17 17:12:08 +01:00
committed by vuonojenmustaturska
parent a3025b25de
commit 4c767ce101
2 changed files with 8 additions and 1 deletions

View File

@@ -397,7 +397,7 @@
if(..())
return
if(locate(/obj/item/borg/upgrade/expand, R))
if(R.hasExpanded)
to_chat(usr, "<span class='notice'>This unit already has an expand module installed!</span>")
return
@@ -417,5 +417,6 @@
R.anchored = FALSE
R.notransform = FALSE
R.resize = 2
R.hasExpanded = TRUE
R.update_transform()
return TRUE