Pārlūkot izejas kodu

Rename main function

Yentl Van Tendeloo 8 gadi atpakaļ
vecāks
revīzija
d844df3fab
1 mainītis faili ar 1 papildinājumiem un 4 dzēšanām
  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()