mirror of
https://github.com/stevenhowes/CTheEscape.git
synced 2026-05-27 04:00:52 +01:00
Comments in event scripting language. Tweaked tractor beam timings. Longer audio clip.
This commit is contained in:
+2
-3
@@ -9,12 +9,11 @@
|
||||
foreach(preg_split("/((\r?\n)|(\r\n?))/", $script) as $line)
|
||||
{
|
||||
$line = trim($line);
|
||||
$commentsplit = preg_split("/\#/",$line);
|
||||
$line = trim($commentsplit[0]);
|
||||
|
||||
if(strlen($line) == 0)
|
||||
{
|
||||
$inevent = -1;
|
||||
continue;
|
||||
}
|
||||
|
||||
$split = preg_split("/\(|\)/",$line);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user