Move mailbox closing to its script (#740)

This commit is contained in:
David Markowitz
2022-08-18 19:42:52 -07:00
committed by GitHub
parent c05562a227
commit ceb374591f
3 changed files with 9 additions and 6 deletions

View File

@@ -4745,12 +4745,6 @@ void GameMessages::HandleFireEventServerSide(RakNet::BitStream* inStream, Entity
return;
}
if (args == u"toggleMail") {
AMFArrayValue args;
args.InsertValue("visible", new AMFFalseValue());
GameMessages::SendUIMessageServerToSingleClient(entity, sysAddr, "ToggleMail", &args);
}
// This should probably get it's own "ServerEvents" system or something at some point
if (args == u"ZonePlayer") {
// Should probably check to make sure they're using a launcher at some point before someone makes a hack that lets you testmap