diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2016-01-07 09:28:43 -0500 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2016-01-07 09:28:43 -0500 |
commit | 0c89c034ffe5fdf79e57c8bdbe9ca07eaf79b382 (patch) | |
tree | 0433130e467a03d5df45b5748676febe3506deaf /main.cpp | |
parent | 42bd0ae7913af00ea5e330e45321e2bbe9e734d9 (diff) |
xml
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -403,6 +403,12 @@ int main(/*int argc, char *argv[]*/){ fadeIntensity = 250; initEverything(); + if(!currentWorld){ + std::cout<<"asscock"<<std::endl; + system("systemctl poweroff"); + abort(); + } + /* * Load sprites used in the inventory menu. See src/inventory.cpp */ |