[Servers] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable
This commit is contained in:
parent
82f6e9be5e
commit
fdd3d36c6d
48 changed files with 1105 additions and 1105 deletions
|
|
@ -396,7 +396,7 @@ void ServersDebugger::deinitialize() {
|
|||
}
|
||||
|
||||
Error ServersDebugger::_capture(void *p_user, const String &p_cmd, const Array &p_data, bool &r_captured) {
|
||||
ERR_FAIL_COND_V(!singleton, ERR_BUG);
|
||||
ERR_FAIL_NULL_V(singleton, ERR_BUG);
|
||||
r_captured = true;
|
||||
if (p_cmd == "memory") {
|
||||
singleton->_send_resource_usage();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue