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:
Waterpig
2024-07-16 19:24:55 +00:00
committed by GitHub
parent cd6ef2a7f1
commit bff9fe01cc
2 changed files with 6 additions and 2 deletions
@@ -61,7 +61,8 @@
action.Grant(avatar)
var/client/our_client = avatar.client
var/alias = our_client?.prefs?.read_preference(/datum/preference/name/hacker_alias) || pick(GLOB.hacker_aliases)
var/alias = null// BUBBER EDIT - removes random aliases - original: var/alias = our_client?.prefs?.read_preference(/datum/preference/name/hacker_alias) || pick(GLOB.hacker_aliases)
if(alias && avatar.real_name != alias)
avatar.fully_replace_character_name(avatar.real_name, alias)