mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 04:01:32 -06:00
SC2: send ItemLink messages to ingame as well
This commit is contained in:
@@ -115,13 +115,12 @@ class SC2Context(CommonContext):
|
||||
self.mission_req_table[mission] = MissionInfo(**slot_req_table[mission])
|
||||
|
||||
if cmd in {"PrintJSON"}:
|
||||
noted = False
|
||||
if "receiving" in args:
|
||||
if args["receiving"] == self.slot:
|
||||
if self.slot_concerns_self(args["receiving"]):
|
||||
self.announcements.append(args["data"])
|
||||
noted = True
|
||||
if not noted and "item" in args:
|
||||
if args["item"].player == self.slot:
|
||||
return
|
||||
if "item" in args:
|
||||
if self.slot_concerns_self(args["item"].player):
|
||||
self.announcements.append(args["data"])
|
||||
|
||||
def run_gui(self):
|
||||
|
Reference in New Issue
Block a user