合并代码
This commit is contained in:
parent
b74f284654
commit
979645567e
|
|
@ -67,7 +67,8 @@ func (this *PolicyClawdoll) OnTick(s *base.Scene) {
|
||||||
sceneEx, ok := s.ExtraData.(*SceneEx)
|
sceneEx, ok := s.ExtraData.(*SceneEx)
|
||||||
if ok {
|
if ok {
|
||||||
if sceneEx.machineId == 0 {
|
if sceneEx.machineId == 0 {
|
||||||
sceneEx.machineId = action.GetFreeDollMachineId()
|
machineId := s.DBGameFree.GetId() % 6080000
|
||||||
|
sceneEx.machineId = action.GetFreeDollMachineId(machineId)
|
||||||
}
|
}
|
||||||
if sceneEx.machineId != 0 {
|
if sceneEx.machineId != 0 {
|
||||||
machineStatus := action.GetDollMachineStatus(sceneEx.machineId)
|
machineStatus := action.GetDollMachineStatus(sceneEx.machineId)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue