xiongzhu 2 tahun lalu
induk
melakukan
56025efcbf
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/views/PlayView.vue

+ 1 - 1
src/views/PlayView.vue

@@ -288,7 +288,7 @@ async function continueGame(genChoice = false, newCharactor = null) {
         await http.post(`/game/${gameId}/continue`, {
         await http.post(`/game/${gameId}/continue`, {
             genChoice: genChoice,
             genChoice: genChoice,
             choice: history.value[history.value.length - 1].options[choice.value],
             choice: history.value[history.value.length - 1].options[choice.value],
-            addCharactor: newCharactor
+            newCharactor: newCharactor
         })
         })
         loading.value = false
         loading.value = false
         getData()
         getData()