aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2016-01-07 09:28:43 -0500
committerClyne Sullivan <tullivan99@gmail.com>2016-01-07 09:28:43 -0500
commit0c89c034ffe5fdf79e57c8bdbe9ca07eaf79b382 (patch)
tree0433130e467a03d5df45b5748676febe3506deaf /main.cpp
parent42bd0ae7913af00ea5e330e45321e2bbe9e734d9 (diff)
xml
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index d5b9f78..e964c1d 100644
--- a/main.cpp
+++ b/main.cpp
@@ -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
*/