mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-05 23:07:42 -05:00
Typos
This commit is contained in:
@@ -896,7 +896,7 @@ void InputMap::load_default() {
|
||||
}
|
||||
|
||||
InputMap::InputMap() {
|
||||
ERR_FAIL_COND_MSG(singleton, "Singleton in InputMap already exist.");
|
||||
ERR_FAIL_COND_MSG(singleton, "Singleton in InputMap already exists.");
|
||||
singleton = this;
|
||||
}
|
||||
|
||||
|
||||
@@ -331,7 +331,7 @@ IP *IP::get_singleton() {
|
||||
IP *(*IP::_create)() = nullptr;
|
||||
|
||||
IP *IP::create() {
|
||||
ERR_FAIL_COND_V_MSG(singleton, nullptr, "IP singleton already exist.");
|
||||
ERR_FAIL_COND_V_MSG(singleton, nullptr, "IP singleton already exists.");
|
||||
ERR_FAIL_NULL_V(_create, nullptr);
|
||||
return _create();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user