1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2025-04-17 11:11:08 +00:00

Code cleanup

This commit is contained in:
Acamaeda 2020-12-12 22:05:11 -05:00
parent c885114791
commit 335d080f0c
2 changed files with 1 additions and 4 deletions
js/technical

View file

@ -214,7 +214,7 @@ function addNode(layerName, layerData){ // Does the same thing, but for non-laye
// If data is a function, return the result of calling it. Otherwise, return the data.
function readData(data, args=null){
if (!!(data && data.constructor && data.call && data.apply))
if ((!!data && data.constructor && data.call && data.apply))
return data(args);
else
return data;