improve performance
This commit is contained in:
		| @@ -85,6 +85,8 @@ class fenrir(): | ||||
|             self.wasCommand = command != '' | ||||
|      | ||||
|     def handleCommands(self):  | ||||
|         if time.time() - self.environment['commandInfo']['lastCommandExecutionTime'] < 0.2: | ||||
|             return           | ||||
|         if not self.environment['runtime']['commandManager'].isCommandQueued(): | ||||
|             return | ||||
|         self.environment['runtime']['commandManager'].executeCommand( self.environment['commandInfo']['currCommand'], 'commands') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user