mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Making the computer username default
Even for steam
This commit is contained in:
parent
9b91a3d5e3
commit
691bbc0f67
1 changed files with 2 additions and 1 deletions
|
|
@ -20,7 +20,8 @@ class Game_Oneshot
|
|||
@bruteforce_start = nil
|
||||
end
|
||||
def self.get_user_name
|
||||
user_name = (Steam.enabled? ? Steam::USER_NAME : Oneshot::USER_NAME).split(/\s+/)
|
||||
user_name = (Oneshot::USER_NAME).split(/\s+/)
|
||||
#user_name = (Steam.enabled? ? Steam::USER_NAME : Oneshot::USER_NAME).split(/\s+/)
|
||||
if user_name[0].casecmp('the') == 0 || user_name[0].casecmp('a') == 0
|
||||
return user_name.join(' ')
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue