Making the computer username default

Even for steam
This commit is contained in:
mshirt 2016-12-06 15:28:36 -06:00
parent 9b91a3d5e3
commit 691bbc0f67

View file

@ -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