• R/O
  • SSH
  • HTTPS

jinrousiki: Commit


Commit MetaInfo

Révision2046 (tree)
l'heure2017-06-11 04:05:29
Auteurumethyl

Message de Log

GamePlayTalk:整形

Change Summary

Modification

--- trunk/include/talk/game_play_talk_class.php (revision 2045)
+++ trunk/include/talk/game_play_talk_class.php (revision 2046)
@@ -5,7 +5,9 @@
55 public static function InitStack() {
66 Talk::Stack()->Set(Talk::LIMIT_SAY, null);
77 Talk::Stack()->Set(Talk::UPDATE, false);
8- if (DB::$ROOM->IsOption('limit_talk')) Talk::Stack()->Set(Talk::LIMIT_TALK, false);
8+ if (DB::$ROOM->IsOption('limit_talk')) {
9+ Talk::Stack()->Set(Talk::LIMIT_TALK, false);
10+ }
911 }
1012
1113 //発言変換処理
@@ -77,13 +79,17 @@
7779 }
7880
7981 //-- 加工処理 --//
80- if ($say == ' ') $say = null; //スペースだけなら「消去」
82+ if ($say == ' ') { //スペースだけなら「消去」
83+ $say = null;
84+ }
8185
8286 //-- 登録処理 (ゲーム開始前(無条件) > 生存者(登録制限) > 死者(霊界遺言登録能力者)) --//
8387 if (DB::$ROOM->IsBeforeGame()) {
8488 DB::$SELF->Update('last_words', $say);
8589 } elseif (DB::$SELF->IsLive()) {
86- if (! RoleUser::LimitedLastWords(DB::$SELF)) DB::$SELF->Update('last_words', $say);
90+ if (! RoleUser::LimitedLastWords(DB::$SELF)) {
91+ DB::$SELF->Update('last_words', $say);
92+ }
8793 } elseif (DB::$SELF->IsDead()) {
8894 RoleTalk::SaveHeavenLastWords($say);
8995 }
Afficher sur ancien navigateur de dépôt.