fix(player): 移除GetAction方法中的冗余return语句
移除了Player结构体中GetAction方法内不必要的return语句, 该语句在方法末尾没有实际作用,清理后使代码更加简洁。
This commit is contained in:
BIN
logic/logic1
Normal file
BIN
logic/logic1
Normal file
Binary file not shown.
@@ -122,7 +122,6 @@ func WithConn(c *Conn) PlayerOption {
|
||||
|
||||
func (p *Player) GetAction() {
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// 刷怪具体实现
|
||||
|
||||
Reference in New Issue
Block a user