mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-11 21:45:43 -04:00
Fixed Setgodmode str error(temp)
Added TicketPurchaseModeMessageItv for Itv's Changed Travel_terminal_itv to use the new Purchasemode
This commit is contained in:
@@ -17,6 +17,8 @@ def run(core, actor, target, commandString):
|
||||
|
||||
playerObject = actor.getSlottedObject('ghost')
|
||||
|
||||
global str
|
||||
|
||||
if not playerObject:
|
||||
return
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from resources.common import RadialOptions
|
||||
from protocol.swg import EnterTicketPurchaseModeMessage
|
||||
from protocol.swg import EnterTicketPurchaseModeMessageItv
|
||||
import sys
|
||||
|
||||
def createRadial(core, owner, target, radials):
|
||||
@@ -14,7 +14,7 @@ def handleSelection(core, owner, target, option):
|
||||
if owner.getCombatFlag() == 1:
|
||||
owner.sendSystemMessage('You can\'t use that while in combat.', 0)
|
||||
return
|
||||
tpm = EnterTicketPurchaseModeMessage(owner.getPlanet().getName(), core.mapService.getClosestCityName(owner), owner)
|
||||
tpm = EnterTicketPurchaseModeMessageItv(owner.getPlanet().getName(), core.mapService.getClosestCityName(owner), owner)
|
||||
owner.getClient().getSession().write(tpm.serialize())
|
||||
return
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user