Skip to content

Commit

Permalink
show 任务已完成 if SYS_DONE
Browse files Browse the repository at this point in the history
  • Loading branch information
etorth committed Jul 24, 2023
1 parent 86c1d0c commit f31ce2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion server/src/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,10 @@ void Player::onActivate()
R"###( assertType(questState, 'string', 'nil') )###""\n"
R"###( assertType(questDesp, 'string', 'nil') )###""\n"
R"###( )###""\n"
R"###( if questState then )###""\n"
R"###( if questState == SYS_DONE then )###""\n"
R"###( questDespList[questName] = '任务已完成' )###""\n"
R"###( )###""\n"
R"###( elseif questState then )###""\n"
R"###( questDespList[questName] = questDesp or false )###""\n"
R"###( end )###""\n"
R"###( end )###""\n"
Expand Down

0 comments on commit f31ce2a

Please sign in to comment.