Browse Source

Rename main function

Yentl Van Tendeloo 8 years ago
parent
commit
d844df3fab
1 changed files with 1 additions and 4 deletions
  1. 1 4
      integration/code/pn_interface.alc

+ 1 - 4
integration/code/pn_interface.alc

@@ -277,7 +277,7 @@ Element function model_loaded(model : Element):
 			output("Unknown command: " + cast_v2s(cmd))
 			output("Unknown command: " + cast_v2s(cmd))
 			output("Use command 'help' to get a list of available commands")
 			output("Use command 'help' to get a list of available commands")
 
 
-Element function initial_prompt():
+Element function main():
 	output("Welcome to the Model Management Interface, running live on the Modelverse!")
 	output("Welcome to the Model Management Interface, running live on the Modelverse!")
 	output("Use 'help' command for a list of possible commands")
 	output("Use 'help' command for a list of possible commands")
 	String command
 	String command
@@ -361,6 +361,3 @@ Element function initial_prompt():
 			output("Back in model manager!")
 			output("Back in model manager!")
 		else:
 		else:
 			output("Command not recognized, use 'help' for a list of possible commands")
 			output("Command not recognized, use 'help' for a list of possible commands")
-
-Void function main():
-	initial_prompt()