Bladeren bron

[fixed] fixed my woopsy

anjuna krokus 1 week geleden
bovenliggende
commit
1f5cb41796
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      locations/npcgeneratec.qsrc

+ 2 - 2
locations/npcgeneratec.qsrc

@@ -4,9 +4,9 @@
 !! You can also set their approx. home location
 !! All data produced is random so if you need a specific value you will have to overwrite it
 
-if isnum($ARGS[0]): ARGS[0] = val($ARGS[0])
-
 if $ARGS[0] = '' or isnum($ARGS[0]):
+	if $ARGS[0] ! '': ARGS[0] = val($ARGS[0])
+
 	!! npcgen_lastrun is a flag to help track whether npcgeneratec or npcpreservec has been run last
 	!! npcgeneratec is 1
 	!! npcpreservec is 2