mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-12-22 16:30:20 +00:00
Merge pull request #53 from Istador/isit-with-active
fix: mark player as not a seeker when H&S is disabled
This commit is contained in:
commit
9bf07b3e0d
2 changed files with 5 additions and 1 deletions
|
@ -609,7 +609,7 @@ void Client::sendTagInfPacket() {
|
||||||
|
|
||||||
packet->mUserID = sInstance->mUserID;
|
packet->mUserID = sInstance->mUserID;
|
||||||
|
|
||||||
packet->isIt = hsMode->isPlayerIt();
|
packet->isIt = hsMode->isPlayerIt() && hsMode->isModeActive();
|
||||||
|
|
||||||
packet->minutes = curInfo->mHidingTime.mMinutes;
|
packet->minutes = curInfo->mHidingTime.mMinutes;
|
||||||
packet->seconds = curInfo->mHidingTime.mSeconds;
|
packet->seconds = curInfo->mHidingTime.mSeconds;
|
||||||
|
|
|
@ -84,6 +84,8 @@ void HideAndSeekMode::begin() {
|
||||||
playGuideLyt->end();
|
playGuideLyt->end();
|
||||||
|
|
||||||
GameModeBase::begin();
|
GameModeBase::begin();
|
||||||
|
|
||||||
|
Client::sendTagInfPacket();
|
||||||
}
|
}
|
||||||
|
|
||||||
void HideAndSeekMode::end() {
|
void HideAndSeekMode::end() {
|
||||||
|
@ -109,6 +111,8 @@ void HideAndSeekMode::end() {
|
||||||
playGuideLyt->appear();
|
playGuideLyt->appear();
|
||||||
|
|
||||||
GameModeBase::end();
|
GameModeBase::end();
|
||||||
|
|
||||||
|
Client::sendTagInfPacket();
|
||||||
}
|
}
|
||||||
|
|
||||||
void HideAndSeekMode::update() {
|
void HideAndSeekMode::update() {
|
||||||
|
|
Loading…
Reference in a new issue