Now the client compiles with C# 2.0

This commit is contained in:
UnknownShadow200 2017-09-16 21:38:16 +10:00
parent d27aba4c70
commit 1be3e8c3f6
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ namespace ClassicalSharp.Gui.Screens {
public abstract void OnResize(int width, int height);
protected ClickHandler LeftOnly(SimpleClickHandler action) {
return (g, w, btn, x, y) => {
return delegate(Game g, Widget w, MouseButton btn, int x, int y) {
if (btn != MouseButton.Left) return;
if (action != null) action(g, w);
};

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project ToolsVersion="2.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{BEB1C785-5CAD-48FF-A886-876BF0A318D4}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>