diff --git a/scripts/Game_Oneshot.rb b/scripts/Game_Oneshot.rb index c997ecd..a2dd2fa 100644 --- a/scripts/Game_Oneshot.rb +++ b/scripts/Game_Oneshot.rb @@ -6,11 +6,15 @@ class Game_Oneshot attr_accessor :plight_timer # start of plight's plight def initialize - 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 - @player_name = user_name.join(' ') + if $GDC + @player_name = '' else - @player_name = user_name[0] + 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 + @player_name = user_name.join(' ') + else + @player_name = user_name[0] + end end @lights = {} @plight_timer = nil