equal
deleted
inserted
replaced
527 end; |
527 end; |
528 |
528 |
529 procedure ScriptOnGameInit; |
529 procedure ScriptOnGameInit; |
530 var s, t : ansistring; |
530 var s, t : ansistring; |
531 begin |
531 begin |
532 // not required if there's no script to run |
532 // not required if there is no script to run |
533 if not ScriptLoaded then |
533 if not ScriptLoaded then |
534 exit; |
534 exit; |
535 |
535 |
536 // push game variables so they may be modified by the script |
536 // push game variables so they may be modified by the script |
537 ScriptSetInteger('GameFlags', GameFlags); |
537 ScriptSetInteger('GameFlags', GameFlags); |