瀏覽代碼

Fixed bug #8110:
- Fixed an issue where Castle Manager couldn't be fired accordingly.

http://rathena.org/board/tracker/issue-8110-overly-attached-kafra-employee/

Signed-off-by: j-tkay <joseph.tk.ea@gmail.com>

j-tkay 11 年之前
父節點
當前提交
4d67a38da6
共有 1 個文件被更改,包括 4 次插入2 次删除
  1. 4 2
      npc/guild/agit_main.txt

+ 4 - 2
npc/guild/agit_main.txt

@@ -3,7 +3,7 @@
 //===== By: ==================================================
 //= L0ne_W0lf
 //===== Current Version: =====================================
-//= 1.9a
+//= 2.0
 //===== Compatible With: =====================================
 //= rAthena SVN
 //===== Description: =========================================
@@ -52,6 +52,7 @@
 //= 1.8 Fixed a possible exploit in guild castle investment. [Brian]
 //= 1.9 Partially rewrote Script. [Masao]
 //= 1.9a Fixed incorrect setcastledata parameter. [Euphy]
+//= 2.0 Fixed an issue where Castle Manager couldn't be fired. [Joseph]
 //============================================================
 
 // WoE : Main Functions
@@ -836,12 +837,13 @@ OnRecvCastle:
 					mes "Oh, my goodness! This is nonsense!";
 					next;
 					cutin "",255;
-					close;
+					break;
 				case 2:
 					mes "[ Hired Kafra Employee ]";
 					mes "I'll work hard for you... Thank you!";
 					close;
 				}
+				break;
 			case 2:
 				mes "["+strnpcinfo(1)+"]";
 				mes "She worked hard in my opinion. It was a good decision to keep her.";