mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
Bitrunning loadout and name fixes (#1790)
## About The Pull Request Loadouts load again, gamer names have been replaced by character names. ## Why It's Good For The Game This is intended by what I created with the original bitrunning prefs ## Changelog 🆑 fix: Loadouts in bitrunning work again fix: Names in bitrunning work again /🆑
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
|
||||
/// Generates a new avatar for the bitrunner.
|
||||
/obj/machinery/quantum_server/proc/generate_avatar(turf/destination, datum/outfit/netsuit, datum/preferences/prefs, load_loadout = FALSE) // BUBBER EDIT - Prefs argument
|
||||
/obj/machinery/quantum_server/proc/generate_avatar(turf/destination, datum/outfit/netsuit, datum/preferences/prefs, load_loadout = FALSE) // BUBBER EDIT - Prefs and loadout argument
|
||||
var/mob/living/carbon/human/avatar = new(destination)
|
||||
|
||||
// BUBBER EDIT BEGIN - PREFS!
|
||||
@@ -82,6 +82,9 @@
|
||||
new /obj/item/flashlight,
|
||||
)
|
||||
|
||||
if(load_loadout)
|
||||
avatar.equip_outfit_and_loadout(new /datum/outfit(), prefs) // BUBBER EDIT - LOADOUTS
|
||||
|
||||
var/obj/item/card/id/outfit_id = avatar.wear_id
|
||||
if(outfit_id)
|
||||
outfit_id.registered_account = new()
|
||||
|
||||
Reference in New Issue
Block a user