From 0886970876bfd19d35f33800581df61a1d2b203b Mon Sep 17 00:00:00 2001 From: "niko(depressedTWM)" Date: Thu, 16 Jul 2026 09:07:41 -0400 Subject: [PATCH] Window_NameInput fix --- scripts/Window_NameInput.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/Window_NameInput.rb b/scripts/Window_NameInput.rb index 2ee4c8e..a880f72 100644 --- a/scripts/Window_NameInput.rb +++ b/scripts/Window_NameInput.rb @@ -48,11 +48,10 @@ class Window_NameInput < Window_Base @ok_text = "OK" @char_w = 28 @char_h = 32 - RPG::Mod.exec_hooks("hooks/Window_NameInput/init", binding) end def init # Create dimension information - @table_size = @character_tables[0].first.size + @table_size = @character_tables[0].size @table_width = @table_size / @table_height @start_x = ((width - 32) - @table_width * @char_w) / 2 @start_y = ((height - 32) - (@table_height + 1) * @char_h + BUTTON_BUFFER) / 2