Fix dragging items caused by plan item not being list.

This commit is contained in:
Matthew Stratford 2022-03-12 14:55:33 +00:00
parent 7c547bccba
commit 81d986069f

View file

@ -1256,10 +1256,10 @@ class Player:
"LOADED?": lambda: self._retMsg(self.isLoaded), "LOADED?": lambda: self._retMsg(self.isLoaded),
"UNLOAD": lambda: self._retMsg(self.unload()), "UNLOAD": lambda: self._retMsg(self.unload()),
"ADD": lambda: self._retMsg( "ADD": lambda: self._retMsg(
self.add_to_plan( self.add_to_plan([
json.loads( json.loads(
":".join(self.last_msg.split(":")[1:])) ":".join(self.last_msg.split(":")[1:]))
) ])
), ),
"REMOVE": lambda: self._retMsg( "REMOVE": lambda: self._retMsg(
self.remove_from_plan( self.remove_from_plan(