소스 검색

sc_end SC_ALL fix (#6674)

Fixes #6673
Singe Horizontal 3 년 전
부모
커밋
cf519c0866
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/map/script.cpp

+ 1 - 1
src/map/script.cpp

@@ -11998,7 +11998,7 @@ BUILDIN_FUNC(sc_end)
 	if (!bl)
 		return SCRIPT_CMD_SUCCESS;
 
-	if (type >= SC_NONE && type < SC_MAX) {
+	if (type > SC_NONE && type < SC_MAX) {
 		struct status_change *sc = status_get_sc(bl);
 
 		if (sc == nullptr)