Update Core.cpp
Merge pull request #8 from Ladone3/patch-2

Update Core.cpp