diff options
| author | Hubert Jarosz | 2016-03-09 00:00:52 +0100 |
|---|---|---|
| committer | Rémi Verschelde | 2016-04-02 22:03:48 +0200 |
| commit | 424a1046664eb1dc8138ccb886ba1c1967c3caa4 (patch) | |
| tree | 650074feb39a8237875bfa0ef0ea842e8d96f41c /modules/gdscript/gd_script.cpp | |
| parent | 830947feafc5e3af452296ff80a6418e9c56c5d2 (diff) | |
| download | godot-424a1046664eb1dc8138ccb886ba1c1967c3caa4.tar.gz godot-424a1046664eb1dc8138ccb886ba1c1967c3caa4.tar.zst godot-424a1046664eb1dc8138ccb886ba1c1967c3caa4.zip | |
remove trailing whitespace
(cherry picked from commit 4a4f2479146aa33e235ed57cde311efda68d3c8f)
Diffstat (limited to 'modules/gdscript/gd_script.cpp')
| -rw-r--r-- | modules/gdscript/gd_script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gdscript/gd_script.cpp b/modules/gdscript/gd_script.cpp index 1b2ed670a..f840f7a9a 100644 --- a/modules/gdscript/gd_script.cpp +++ b/modules/gdscript/gd_script.cpp @@ -1510,7 +1510,7 @@ Variant GDScript::_new(const Variant** p_args,int p_argcount,Variant::CallError& return Variant(); } - if (ref.is_valid()) { + if (ref.is_valid()) { return ref; } else { return owner; @@ -2008,7 +2008,7 @@ void GDScript::_get_property_list(List<PropertyInfo> *p_properties) const { void GDScript::_bind_methods() { - ObjectTypeDB::bind_native_method(METHOD_FLAGS_DEFAULT,"new",&GDScript::_new,MethodInfo("new")); + ObjectTypeDB::bind_native_method(METHOD_FLAGS_DEFAULT,"new",&GDScript::_new,MethodInfo("new")); ObjectTypeDB::bind_method(_MD("get_as_byte_code"),&GDScript::get_as_byte_code); |
