Merge pull request #7424 from Rykka-Stormheart/shep-dev-handle-ambience

Skip calling handle_ambience() if there is no client assigned
This commit is contained in:
Atermonera
2020-08-08 20:52:56 -07:00
committed by GitHub
+2 -2
View File
@@ -45,8 +45,8 @@
//Check if we're on fire
handle_fire()
// Handle re-running ambience to mobs if they've remained in an area.
handle_ambience()
if(client) // Handle re-running ambience to mobs if they've remained in an area, AND have an active client assigned to them.
handle_ambience()
//stuff in the stomach
handle_stomach()