• R/O
  • SSH
  • HTTPS

jinrousiki: Commit


Commit MetaInfo

Revision2753 (tree)
Time2021-07-22 18:22:56
Authorumethyl

Log Message

Room::ResetRevoteCount()

Change Summary

Incremental Difference

--- trunk/include/room_class.php (revision 2752)
+++ trunk/include/room_class.php (revision 2753)
@@ -427,6 +427,11 @@
427427 return $stack;
428428 }
429429
430+ //再投票カウントリセット
431+ public function ResetRevoteCount() {
432+ $this->revote_count = 0;
433+ }
434+
430435 //-- システムメッセージ関連 --//
431436 //イベント情報登録
432437 public function StoreEvent($str, $type, $add_date = 0) {
--- trunk/include/test/test_functions.php (revision 2752)
+++ trunk/include/test/test_functions.php (revision 2753)
@@ -31,7 +31,7 @@
3131 DB::LoadRoom();
3232 DB::$ROOM->SetFlag(RoomMode::TEST, RoomMode::LOG);
3333 DB::$ROOM->SetScene(RoomScene::BEFORE);
34- DB::$ROOM->revote_count = 0;
34+ DB::$ROOM->ResetRevoteCount();
3535 if (DB::$ROOM->Stack()->IsEmpty('vote')) {
3636 DB::$ROOM->Stack()->Init('vote');
3737 }
Show on old repository browser