Skip to content

Commit

Permalink
Make sure backpack is created at turf
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dzianishchyts committed Sep 13, 2024
1 parent dca0e04 commit 86a3106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modular_ss220/maps220/code/spawners.dm
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
id_card.owner_ckey = ckey
id_card.RebuildHTML()

var/obj/item/storage/backpack/loadout_storage = new loadout_storage_type(loc)
var/obj/item/storage/backpack/loadout_storage = new loadout_storage_type(get_turf(loc))
for(var/gear in save.loadout_gear)
var/datum/gear/G = GLOB.gear_datums[text2path(gear) || gear]
if(isnull(G))
Expand Down

0 comments on commit 86a3106

Please sign in to comment.