Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uhyo committed Dec 30, 2021
1 parent 108ff94 commit a8506e9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions server/rpc/game/game.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -11452,9 +11452,9 @@ class StraySheep extends Player
type:"StraySheep"
midnightSort:79
formType: FormType.optionalOnce
sleeping:->true
jobdone:->game.day<=1 || !!@flag
job:(game,playerid)->
sleeping:-> true
jobdone:(game)-> game.day<=1 || !!@flag
job:(game, playerid)->
if @flag
return game.i18n.t "error.common.alreadyUsed"
@setFlag "using"
Expand All @@ -11464,7 +11464,7 @@ class StraySheep extends Player
comment: game.i18n.t "roles:StraySheep.select", {name: @name}
splashlog game.id,game,log
null
midnight:(game,midnightSort)->
midnight:(game, midnightSort)->
# ここが無効化されたら発動しないように
if @flag=="using"
@setFlag "using2"
Expand Down

0 comments on commit a8506e9

Please sign in to comment.