Explorar o código

Rename main function

Yentl Van Tendeloo %!s(int64=9) %!d(string=hai) anos
pai
achega
d844df3fab
Modificáronse 1 ficheiros con 1 adicións e 4 borrados
  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("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("Use 'help' command for a list of possible commands")
 	String command
@@ -361,6 +361,3 @@ Element function initial_prompt():
 			output("Back in model manager!")
 		else:
 			output("Command not recognized, use 'help' for a list of possible commands")
-
-Void function main():
-	initial_prompt()