Skip to content

Commit

Permalink
Reimplements bitrunning hands [NO GBP] (tgstation#79810)
Browse files Browse the repository at this point in the history
## About The Pull Request
As it turns out, you cannot do that
## Why It's Good For The Game
Bitrunners need hands
Fixes tgstation#79786
## Changelog
:cl:
fix: After correcting a slight miscalculation, Bit Avatars now have
hands again.
/:cl:
  • Loading branch information
jlsnow301 authored Nov 17, 2023
1 parent 2ca076a commit 8977992
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/bitrunning/server/obj_generation.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
possible_turfs.Remove(chosen_turf)
chosen_turf = validate_turf(pick(possible_turfs))
if(isnull(chosen_turf))
CRASH("vdom: after two attemps, could not find a valid turf for cache")
CRASH("vdom: after two attempts, could not find a valid turf for cache")

new /obj/structure/closet/crate/secure/bitrunning/encrypted(chosen_turf)
return TRUE
Expand Down Expand Up @@ -40,7 +40,8 @@
if(istype(hat))
hat.set_armor(/datum/armor/none)

QDEL_LIST(avatar.held_items)
for(var/obj/thing in avatar.held_items)
qdel(thing)

var/obj/item/storage/backpack/bag = avatar.back
if(istype(bag))
Expand Down

0 comments on commit 8977992

Please sign in to comment.