Fix building frames on walls and windows.

try_build() has long accepted `user` parameter, but nothing that called try_build actually passed it!
Upgraded try_build on APC to use the user parameter, and switched to use to_chat while I was there.
This commit is contained in:
Leshana
2018-04-11 23:13:54 -04:00
parent 5743df3d37
commit e6bc2fbe11
3 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -311,7 +311,7 @@
qdel(src)
else if(istype(W,/obj/item/frame) && anchored)
var/obj/item/frame/F = W
F.try_build(src)
F.try_build(src, user)
else
user.setClickCooldown(user.get_attack_speed(W))
if(W.damtype == BRUTE || W.damtype == BURN)