Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if tonumber(args[2]) then
- if xml:match('G="%d,%d"') then
- subbed = xml:match('G="%d,')
- xml=xml:gsub('G="%d,%d"', subbed..args[2]..'"')
- else
- xml=xml:gsub('<P', '<P G="0,'..args[2]..'"')
- end
- tfm.exec.newGame(xml)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement