textadventures / quest

Create text adventure games
https://textadventures.co.uk/quest
MIT License
304 stars 69 forks source link

Error ocurring #1056

Closed creepers0818 closed 2 months ago

creepers0818 commented 6 years ago

i tried adding an printText in an If else statement

here is the error prompt System.NullReferenceException: Object reference not set to an instance of an object. at TextAdventures.Quest.EditorControls.ScriptEditorControl.AddNewScriptCommand(String script) at TextAdventures.Quest.EditorControls.ScriptEditorControl.cmdAddScript_Click(Object sender, RoutedEventArgs e) at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs

im new to this, so i dont know how to help of format it or whatever

ThePix commented 6 years ago

can you give any more details? Can you copy and paste the code into a comment (click the code view button in Quest).

alexwarren commented 2 months ago

Closing out old issues. Please re-open with any additional repro steps if this is still a problem.