• R/O
  • SSH
  • HTTPS

jinrousiki: Commit


Commit MetaInfo

Revision2411 (tree)
Time2019-11-04 08:44:50
Authorumethyl

Log Message

Role::GetDisabledAddVoteMessage()

Change Summary

Incremental Difference

--- trunk/include/role/trap_mad.php (revision 2410)
+++ trunk/include/role/trap_mad.php (revision 2411)
@@ -41,7 +41,9 @@
4141 //罠設置
4242 final public function SetTrap(User $user) {
4343 //人狼に狙われていたら自己設置以外は無効
44- if ($this->IsActor($this->GetWolfTarget()) && ! $this->IsActor($user)) return;
44+ if ($this->IsActor($this->GetWolfTarget()) && false === $this->IsActor($user)) {
45+ return;
46+ }
4547
4648 $this->AddStack($user->id, $this->GetSetTrapType());
4749 $this->SetTrapAction();
Show on old repository browser