bot: prevent creature-bots from flashlight usage (ref #563)

This commit is contained in:
jeefo 2024-05-02 20:43:17 +03:00
commit e6b192a80d
No known key found for this signature in database
GPG key ID: 927BCA0779BEA8ED

View file

@ -3205,7 +3205,7 @@ void Bot::logic () {
checkFall ();
// check the darkness
if (cv_check_darkness) {
if (!m_isCreature && cv_check_darkness) {
checkDarkness ();
}