Check if we should end the nighttime everytime someone dies.
This commit is contained in:
1 parent
da15ed72e8
commit
8b3f287a49
1 file changed
+3
@@ -1299,6 +1299,9 @@ sub _player_del {
|
|||||||
if (!keys %PLAYERS) { _gameover('n') }
|
if (!keys %PLAYERS) { _gameover('n') }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Check if nighttime should end, given we are night.
|
||||||
|
if ($PHASE) { if ($PHASE eq 'n') { _chknight() } }
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user