gencl fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6232 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+1
-1
@@ -325,7 +325,7 @@ gencl = [
|
||||
tmp_cl = ""
|
||||
loop gcl 3 [ add2list tmp_cl (rrnd 1 256) ]
|
||||
if $tmp_numargs [
|
||||
if (&& (! (= $selx 0)) (! (= $sely 0))) [
|
||||
if (|| (! (= $selx 0)) (! (= $sely 0))) [
|
||||
echo (c 3)Trying colored light: (c 5) $arg1 (at $tmp_cl 0) (at $tmp_cl 1) (at $tmp_cl 2)
|
||||
newent light $arg1 (at $tmp_cl 0) (at $tmp_cl 1) (at $tmp_cl 2)
|
||||
] [ echo (c 3)Error: (c 5)If an argument is given for (concatword (c 1) gencl (c 5) ",") you must select a cube where you want the new light to be placed. ]
|
||||
|
||||
Reference in New Issue
Block a user