Merge pull request #12884 from timothyteakettle/fix-a-bad-bug/exploit

fixes a dumb bug to do with material crafting
This commit is contained in:
silicons
2020-07-26 22:52:30 -07:00
committed by GitHub
+1 -1
View File
@@ -233,7 +233,7 @@
return
T.PlaceOnTop(R.result_type, flags = CHANGETURF_INHERIT_AIR)
else
O = new R.result_type(usr.drop_location())
O = new R.result_type(get_turf(usr))
if(O)
O.setDir(usr.dir)
log_craft("[O] crafted by [usr] at [loc_name(O.loc)]")