mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 19:50:38 +02:00
coding standard
This commit is contained in:
parent
bad44c540a
commit
46bf6ea5da
1 changed files with 3 additions and 2 deletions
|
@ -151,8 +151,9 @@ EntityItemID EntityScriptingInterface::editEntity(EntityItemID entityID, const E
|
|||
|
||||
void EntityScriptingInterface::deleteEntity(EntityItemID entityID) {
|
||||
|
||||
if (! canEdit())
|
||||
if (!canEdit()) {
|
||||
return;
|
||||
}
|
||||
|
||||
EntityItemID actualID = entityID;
|
||||
|
||||
|
|
Loading…
Reference in a new issue