midspace / Space-Engineers-Admin-script-mod

Modding script for Space Engineers with dozens of Admin commands for creating game scenarios or supporting servers.
44 stars 13 forks source link

SE 01.091 breaking changes #66

Closed midspace closed 9 years ago

midspace commented 9 years ago

DoDamage parameter types have changed.

zrisher commented 9 years ago

Yep, no longer compiles:

MOD_ERROR: 316190120.sbm_midspace.adminscripts, in file: 316190120.sbm_midspace.adminscripts
Compilation of 316190120.sbm_midspace.adminscripts failed:
MOD_ERROR: 316190120.sbm_midspace.adminscripts, in file: 316190120.sbm_midspace.adminscripts
c:\Users\Zach\AppData\Local\Temp\vy21jewq.18.cs(307,88) : error CS1736: Default parameter value for 'damageType' must be a compile-time constant