OSDN Git Service
(root)
/
kcd
/
KCD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2775da0
)
出撃中での艦娘入居状況が正しく反映しない問題を修正
author
masakih
<masakih@users.sourceforge.jp>
Thu, 20 Apr 2017 13:56:42 +0000
(22:56 +0900)
committer
masakih
<masakih@users.sourceforge.jp>
Thu, 20 Apr 2017 13:56:42 +0000
(22:56 +0900)
close #37128
KCD/DummyShipCommand.swift
patch
|
blob
|
history
diff --git
a/KCD/DummyShipCommand.swift
b/KCD/DummyShipCommand.swift
index
7ba9429
..
6b5bcb1
100644
(file)
--- a/
KCD/DummyShipCommand.swift
+++ b/
KCD/DummyShipCommand.swift
@@
-21,12
+21,10
@@
class DummyShipCommand: JSONCommand {
}
private func checkGetShip() {
- guard !data["api_get_ship"].exists()
- else { return }
- DummyShipCommand.needsEnterDummy = true
+ DummyShipCommand.needsEnterDummy = data["api_get_ship"].exists()
}
private func enterDummy() {
-
if !DummyShipCommand.needsEnterDummy
{ return }
+
guard DummyShipCommand.needsEnterDummy else
{ return }
let store = ServerDataStore.oneTimeEditor()
store.createShip()?.id = -2
DummyShipCommand.needsEnterDummy = false